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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: invoke-tasklib
3
- Version: 0.0.6
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-lint
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-lint` | Check linting with ruff | ❌ |
156
- | `lint` | `lint.fix` | Fix auto-fixable linting issues with ruff | ✅ |
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-lint
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-lint` | Check linting with ruff | ❌ |
128
- | `lint` | `lint.fix` | Fix auto-fixable linting issues with ruff | ✅ |
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 check_lint(c: Context) -> None:
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 fix(c: Context) -> None:
25
+ def fix_python(c: Context) -> None:
26
26
  r"""Fix auto-fixable linting issues in place with ruff.
27
27
 
28
28
  Note:
@@ -10,7 +10,7 @@ only-include = ["src"]
10
10
 
11
11
  [project]
12
12
  name = "invoke-tasklib"
13
- version = "0.0.6"
13
+ version = "0.0.7"
14
14
  description = "Reusable Invoke tasks shared across Python projects."
15
15
  readme = "README.md"
16
16
  authors = [
File without changes