|
9 | 9 | types: [python]
|
10 | 10 | entry: scripts/run-in-env.sh ruff check --fix
|
11 | 11 | require_serial: true
|
12 |
| - stages: [commit, push, manual] |
| 12 | + stages: [pre-commit, pre-push, manual] |
13 | 13 | - id: ruff-format
|
14 | 14 | name: 🐶 Ruff Formatter
|
15 | 15 | language: system
|
16 | 16 | types: [python]
|
17 | 17 | entry: scripts/run-in-env.sh ruff format
|
18 | 18 | require_serial: true
|
19 |
| - stages: [commit, push, manual] |
| 19 | + stages: [pre-commit, pre-push, manual] |
20 | 20 | - id: check-ast
|
21 | 21 | name: 🐍 Check Python AST
|
22 | 22 | language: system
|
|
36 | 36 | language: system
|
37 | 37 | types: [text, executable]
|
38 | 38 | entry: scripts/run-in-env.sh check-executables-have-shebangs
|
39 |
| - stages: [commit, push, manual] |
| 39 | + stages: [pre-commit, pre-push, manual] |
40 | 40 | - id: check-json
|
41 | 41 | name: { Check JSON files
|
42 | 42 | language: system
|
|
72 | 72 | language: system
|
73 | 73 | types: [text]
|
74 | 74 | entry: scripts/run-in-env.sh end-of-file-fixer
|
75 |
| - stages: [commit, push, manual] |
| 75 | + stages: [pre-commit, pre-push, manual] |
76 | 76 | - id: no-commit-to-branch
|
77 | 77 | name: 🛑 Don't commit to main branch
|
78 | 78 | language: system
|
|
91 | 91 | language: system
|
92 | 92 | types: [text]
|
93 | 93 | entry: scripts/run-in-env.sh trailing-whitespace-fixer
|
94 |
| - stages: [commit, push, manual] |
| 94 | + stages: [pre-commit, pre-push, manual] |
95 | 95 | - id: mypy
|
96 | 96 | name: mypy
|
97 | 97 | entry: scripts/run-in-env.sh mypy
|
|
0 commit comments