Skip to content

Commit b683648

Browse files
authored
Migrate pre-commit config (#347)
1 parent 39261fb commit b683648

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ repos:
88
types: [python]
99
entry: poetry run ruff check --fix
1010
require_serial: true
11-
stages: [commit, push, manual]
11+
stages: [pre-commit, pre-push, manual]
1212
- id: ruff-format
1313
name: 🐶 Ruff Formatter
1414
language: system
1515
types: [python]
1616
entry: poetry run ruff format
1717
require_serial: true
18-
stages: [commit, push, manual]
18+
stages: [pre-commit, pre-push, manual]
1919
- id: check-ast
2020
name: 🐍 Check Python AST
2121
language: system
@@ -35,7 +35,7 @@ repos:
3535
language: system
3636
types: [text, executable]
3737
entry: poetry run check-executables-have-shebangs
38-
stages: [commit, push, manual]
38+
stages: [pre-commit, pre-push, manual]
3939
- id: check-json
4040
name: { Check JSON files
4141
language: system
@@ -84,7 +84,7 @@ repos:
8484
language: system
8585
types: [text]
8686
entry: poetry run end-of-file-fixer
87-
stages: [commit, push, manual]
87+
stages: [pre-commit, pre-push, manual]
8888
- id: mypy
8989
name: 🆎 Static type checking using mypy
9090
language: system
@@ -127,7 +127,7 @@ repos:
127127
language: system
128128
types: [text]
129129
entry: poetry run trailing-whitespace-fixer
130-
stages: [commit, push, manual]
130+
stages: [pre-commit, pre-push, manual]
131131
- id: yamllint
132132
name: 🎗 Check YAML files with yamllint
133133
language: system

0 commit comments

Comments
 (0)