Skip to content

Commit 5a66d5b

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
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

@@ -35,6 +35,6 @@ repos:
3535

3636
- id: mypy
3737
name: Validate types with MyPy
38-
entry: mypy
38+
entry: poetry run mypy
3939
language: system
4040
types: [ python ]

0 commit comments

Comments
 (0)