Skip to content

Commit

Permalink
fix: use poetry installs of mypy & black in the pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
sminnee committed Aug 18, 2024
1 parent e507271 commit b19571d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
hooks:
- id: black
name: Format with Black
entry: black
entry: poetry run black
language: system
types: [python]

Expand All @@ -36,6 +36,6 @@ repos:

- id: mypy
name: Validate types with MyPy
entry: mypy
entry: poetry run mypy
language: system
types: [ python ]

0 comments on commit b19571d

Please sign in to comment.