Skip to content

Commit 1e7a562

Browse files
committed
chore: update precommit hooks to use new stage names
1 parent 829589c commit 1e7a562

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
fail_fast: true
22
default_language_version:
33
python: python3.8
4-
default_stages: [commit, push]
4+
default_stages: [pre-commit, pre-push]
55
repos:
66
- repo: local
77
hooks:
@@ -10,30 +10,30 @@ repos:
1010
entry: hatch run lint:install-packages
1111
pass_filenames: false
1212
language: system
13-
stages: [commit]
13+
stages: [pre-commit]
1414
types:
1515
- "python"
1616
- id: python_style
1717
name: Check Python Style
1818
entry: hatch run lint:style
1919
pass_filenames: false
2020
language: system
21-
stages: [commit]
21+
stages: [pre-commit]
2222
types:
2323
- "python"
2424
- id: python_typing
2525
name: Check Python Typing
2626
entry: hatch run lint:typing
2727
pass_filenames: false
2828
language: system
29-
stages: [commit]
29+
stages: [pre-commit]
3030
types:
3131
- "python"
3232
- id: eslint
3333
name: Check JavaScript Style and Typing
3434
entry: npm run lint
3535
pass_filenames: false
3636
language: system
37-
stages: [commit]
37+
stages: [pre-commit]
3838
types:
3939
- "javascript"

0 commit comments

Comments
 (0)