Skip to content

Commit

Permalink
enable mypy in pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
becktob committed May 29, 2024
1 parent f495615 commit 3429f1b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,15 @@ repos:
rev: 'v2.0.4'
hooks:
- id: autopep8

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.10.0'
hooks:
- id: mypy
# https://github.com/pre-commit/mirrors-mypy:
# Note that using the --install-types is problematic
additional_dependencies:
- types-setuptools
- typing_extensions
- aiohttp
args: [] # --strict

0 comments on commit 3429f1b

Please sign in to comment.