Add mypy
Browse files- .mypy.ini +3 -0
- .pre-commit-config.yaml +9 -0
- requirements-dev.txt +1 -0
.mypy.ini
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
[mypy]
|
2 |
+
|
3 |
+
exclude = venv
|
.pre-commit-config.yaml
CHANGED
@@ -20,3 +20,12 @@ repos:
|
|
20 |
rev: v2.17.4
|
21 |
hooks:
|
22 |
- id: pylint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
rev: v2.17.4
|
21 |
hooks:
|
22 |
- id: pylint
|
23 |
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
24 |
+
rev: v1.3.0
|
25 |
+
hooks:
|
26 |
+
- id: mypy
|
27 |
+
additional_dependencies:
|
28 |
+
[
|
29 |
+
'fire',
|
30 |
+
'types-PyYAML'
|
31 |
+
]
|
requirements-dev.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
pre-commit
|
2 |
black
|
|
|
|
1 |
pre-commit
|
2 |
black
|
3 |
+
mypy
|