invoke-tasklib 0.0.6__tar.gz → 0.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/PKG-INFO +4 -4
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/README.md +3 -3
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/lint.py +2 -2
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/pyproject.toml +1 -1
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/.gitignore +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/LICENSE +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/__init__.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/clean.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/config.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/doc.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/env.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/format.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/imports.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/py.typed +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/release.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/security.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/test.py +0 -0
- {invoke_tasklib-0.0.6 → invoke_tasklib-0.0.7}/invoke_tasklib/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: invoke-tasklib
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.7
|
|
4
4
|
Summary: Reusable Invoke tasks shared across Python projects.
|
|
5
5
|
Project-URL: Homepage, https://github.com/durandtibo/invoke-tasklib
|
|
6
6
|
Project-URL: Repository, https://github.com/durandtibo/invoke-tasklib
|
|
@@ -128,7 +128,7 @@ tasklib:
|
|
|
128
128
|
|
|
129
129
|
```shell
|
|
130
130
|
invoke --list
|
|
131
|
-
invoke format.check-python lint.check-
|
|
131
|
+
invoke format.check-python lint.check-python
|
|
132
132
|
invoke test.unit
|
|
133
133
|
```
|
|
134
134
|
|
|
@@ -152,8 +152,8 @@ Tasks are grouped into namespaces, one per module. Each task either
|
|
|
152
152
|
| `format` | `format.fix-docstrings` | Format docstrings with docformatter | ✅ |
|
|
153
153
|
| `format` | `format.check-shell` | Check shell scripts with shellcheck | ❌ |
|
|
154
154
|
| `format` | `format.fix-shell` | Format shell scripts with shfmt | ✅ |
|
|
155
|
-
| `lint` | `lint.check-
|
|
156
|
-
| `lint` | `lint.fix`
|
|
155
|
+
| `lint` | `lint.check-python` | Check linting with ruff | ❌ |
|
|
156
|
+
| `lint` | `lint.fix-python` | Fix auto-fixable linting issues with ruff | ✅ |
|
|
157
157
|
| `imports` | `imports.check-cycles` | Check for cyclic import dependencies | ❌ |
|
|
158
158
|
| `types` | `types.check` | Check type hints with pyright | ❌ |
|
|
159
159
|
| `test` | `test.doctest` | Run doctests on source code and markdown files | ❌ |
|
|
@@ -100,7 +100,7 @@ tasklib:
|
|
|
100
100
|
|
|
101
101
|
```shell
|
|
102
102
|
invoke --list
|
|
103
|
-
invoke format.check-python lint.check-
|
|
103
|
+
invoke format.check-python lint.check-python
|
|
104
104
|
invoke test.unit
|
|
105
105
|
```
|
|
106
106
|
|
|
@@ -124,8 +124,8 @@ Tasks are grouped into namespaces, one per module. Each task either
|
|
|
124
124
|
| `format` | `format.fix-docstrings` | Format docstrings with docformatter | ✅ |
|
|
125
125
|
| `format` | `format.check-shell` | Check shell scripts with shellcheck | ❌ |
|
|
126
126
|
| `format` | `format.fix-shell` | Format shell scripts with shfmt | ✅ |
|
|
127
|
-
| `lint` | `lint.check-
|
|
128
|
-
| `lint` | `lint.fix`
|
|
127
|
+
| `lint` | `lint.check-python` | Check linting with ruff | ❌ |
|
|
128
|
+
| `lint` | `lint.fix-python` | Fix auto-fixable linting issues with ruff | ✅ |
|
|
129
129
|
| `imports` | `imports.check-cycles` | Check for cyclic import dependencies | ❌ |
|
|
130
130
|
| `types` | `types.check` | Check type hints with pyright | ❌ |
|
|
131
131
|
| `test` | `test.doctest` | Run doctests on source code and markdown files | ❌ |
|
|
@@ -14,7 +14,7 @@ logger: logging.Logger = logging.getLogger(__name__)
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
@task
|
|
17
|
-
def
|
|
17
|
+
def check_python(c: Context) -> None:
|
|
18
18
|
r"""Check code linting with ruff."""
|
|
19
19
|
logger.info("🔍 Checking code linting with ruff...")
|
|
20
20
|
c.run("ruff check --output-format=github .", pty=True)
|
|
@@ -22,7 +22,7 @@ def check_lint(c: Context) -> None:
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
@task
|
|
25
|
-
def
|
|
25
|
+
def fix_python(c: Context) -> None:
|
|
26
26
|
r"""Fix auto-fixable linting issues in place with ruff.
|
|
27
27
|
|
|
28
28
|
Note:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|