Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,17 @@ repos:
additional_dependencies:
- flake8-bugbear==22.12.6 # must match test-requirements.txt
- flake8-noqa==1.3.0 # must match test-requirements.txt
- repo: local
hooks:
- id: mypy-self-check-mypy
name: mypy self-check mypy(c)
language: system
entry: python -m mypy --config-file mypy_self_check.ini -p mypy -p mypyc
pass_filenames: false
files: ^(mypy|mypyc)/.+\.py$
- id: mypy-self-check-misc
name: mypy self-check misc
language: system
entry: python -m mypy --config-file mypy_self_check.ini misc --exclude misc/fix_annotate.py --exclude misc/async_matrix.py --exclude misc/sync-typeshed.py
pass_filenames: false
files: ^(misc)/.+\.py$