Skip to content

Commit b19571d

Browse files
committed
fix: use poetry installs of mypy & black in the pre-commit hook
1 parent e507271 commit b19571d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
hooks:
1919
- id: black
2020
name: Format with Black
21-
entry: black
21+
entry: poetry run black
2222
language: system
2323
types: [python]
2424

@@ -36,6 +36,6 @@ repos:
3636

3737
- id: mypy
3838
name: Validate types with MyPy
39-
entry: mypy
39+
entry: poetry run mypy
4040
language: system
4141
types: [ python ]

0 commit comments

Comments
 (0)