Skip to content

Commit

Permalink
👷 Add mypy to pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalkrupinski committed Jun 23, 2024
1 parent 1f1c815 commit b6d6e83
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ repos:
pass_filenames: false
args:
- --check
#- repo: local
# hooks:
# - id: mypy
# name: mypy
# language: system
# types: [ python ]
# entry: poetry run mypy src
# pass_filenames: false
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
hooks:
- id: mypy
args:
- src
pass_filenames: false
additional_dependencies:
- jinja2
- mako

0 comments on commit b6d6e83

Please sign in to comment.