Skip to content

Commit d067d01

Browse files
committed
Run mypy --strict during pre-commit.
Also see python/mypy#13916
1 parent 3e6a8bc commit d067d01

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.pre-commit-config.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ repos:
1717
- id: check-yaml
1818
- id: end-of-file-fixer
1919
- id: trailing-whitespace
20+
- repo: https://github.com/pre-commit/mirrors-mypy
21+
rev: v1.10.0
22+
hooks:
23+
- id: mypy
24+
args:
25+
- --strict
26+
- adafruit_pioasm.py
27+
- tests
28+
pass_filenames: false
29+
additional_dependencies:
30+
- pytest
2031
- repo: https://github.com/pycqa/pylint
2132
rev: v2.17.4
2233
hooks:

0 commit comments

Comments
 (0)