Commit d9027e8
authored
Adopt more modern ruff pre-commit hook config (#213)
* Adopt more modern ruff pre-commit hook config
- Avoids using the legacy ruff command and uses the two current hooks.
- Moves options to pyproject.toml to make external ruff calls in sync
with pre-commit ones
- Adds 'ruff' alias, so users can easily call both hooks with:
pre-commit run -a ruff
- Updates ruff hook version
* Adopt more modern ruff pre-commit hook config
- Avoids using the legacy ruff command and uses the two current hooks.
- Moves options to pyproject.toml to make external ruff calls in sync
with pre-commit ones
- Adds 'ruff' alias, so users can easily call both hooks with:
pre-commit run -a ruff
- Updates ruff hook version1 parent 89bc423 commit d9027e8
2 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
0 commit comments