|
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 |
|
76 | 76 | language: system |
77 | 77 | types: [text] |
78 | 78 | entry: poetry run end-of-file-fixer |
79 | | - stages: [commit, push, manual] |
| 79 | + stages: [pre-commit, pre-push, manual] |
80 | 80 | - id: mypy |
81 | 81 | name: 🆎 Static type checking using mypy |
82 | 82 | language: system |
@@ -119,7 +119,7 @@ repos: |
119 | 119 | language: system |
120 | 120 | types: [text] |
121 | 121 | entry: poetry run trailing-whitespace-fixer |
122 | | - stages: [commit, push, manual] |
| 122 | + stages: [pre-commit, pre-push, manual] |
123 | 123 | - id: yamllint |
124 | 124 | name: 🎗 Check YAML files with yamllint |
125 | 125 | language: system |
|
0 commit comments