Skip to content

Commit

Permalink
mypy precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Dec 15, 2023
1 parent 0bbbba4 commit 74ee502
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies: [black==22.10.0]
# Use a local hook to run mypy because the official hook runs mypy in a venv
# that doesn't have dependencies or their type annotations installed.
- repo: local
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
hooks:
- id: mypy
name: mypy
entry: mypy
language: system
types: [python]
- id: mypy
additional_dependencies: ["marshmallow>=3,<4"]

0 comments on commit 74ee502

Please sign in to comment.