|
8 | 8 | types: [python] |
9 | 9 | entry: poetry run ruff check --fix |
10 | 10 | require_serial: true |
11 | | - stages: [commit, push, manual] |
| 11 | + stages: [pre-commit, pre-push, manual] |
12 | 12 | - id: ruff-format |
13 | 13 | name: 🐶 Ruff Formatter |
14 | 14 | language: system |
15 | 15 | types: [python] |
16 | 16 | entry: poetry run ruff format |
17 | 17 | require_serial: true |
18 | | - stages: [commit, push, manual] |
| 18 | + stages: [pre-commit, pre-push, manual] |
19 | 19 | - id: check-ast |
20 | 20 | name: 🐍 Check Python AST |
21 | 21 | language: system |
|
35 | 35 | language: system |
36 | 36 | types: [text, executable] |
37 | 37 | entry: poetry run check-executables-have-shebangs |
38 | | - stages: [commit, push, manual] |
| 38 | + stages: [pre-commit, pre-push, manual] |
39 | 39 | - id: check-json |
40 | 40 | name: { Check JSON files |
41 | 41 | language: system |
|
84 | 84 | language: system |
85 | 85 | types: [text] |
86 | 86 | entry: poetry run end-of-file-fixer |
87 | | - stages: [commit, push, manual] |
| 87 | + stages: [pre-commit, pre-push, manual] |
88 | 88 | - id: mypy |
89 | 89 | name: 🆎 Static type checking using mypy |
90 | 90 | language: system |
@@ -127,7 +127,7 @@ repos: |
127 | 127 | language: system |
128 | 128 | types: [text] |
129 | 129 | entry: poetry run trailing-whitespace-fixer |
130 | | - stages: [commit, push, manual] |
| 130 | + stages: [pre-commit, pre-push, manual] |
131 | 131 | - id: yamllint |
132 | 132 | name: 🎗 Check YAML files with yamllint |
133 | 133 | language: system |
|
0 commit comments