Skip to content

Commit 95445c1

Browse files
ebrpsychedelicious
authored andcommitted
chore: update pre-commit syntax; add check for uv.lock needing an update
1 parent 557e0cb commit 95445c1

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,29 @@ repos:
44
hooks:
55
- id: black
66
name: black
7-
stages: [commit]
7+
stages: [pre-commit]
88
language: system
99
entry: black
1010
types: [python]
1111

1212
- id: flake8
1313
name: flake8
14-
stages: [commit]
14+
stages: [pre-commit]
1515
language: system
1616
entry: flake8
1717
types: [python]
1818

1919
- id: isort
2020
name: isort
21-
stages: [commit]
21+
stages: [pre-commit]
2222
language: system
2323
entry: isort
24-
types: [python]
24+
types: [python]
25+
26+
- id: uvlock
27+
name: uv lock
28+
stages: [pre-commit]
29+
language: system
30+
entry: uv lock
31+
files: ^pyproject\.toml$
32+
pass_filenames: false

0 commit comments

Comments
 (0)