setup: add initial mypy setup

invoke like: mypy --config-file .github/mypy/mypy.ini capa/main.py
This commit is contained in:
William Ballenthin
2021-06-09 14:50:37 -06:00
parent 23354ec452
commit 9a4e9b6586
2 changed files with 22 additions and 0 deletions

19
.github/mypy/mypy.ini vendored Normal file
View File

@@ -0,0 +1,19 @@
[mypy]
[mypy-halo.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-viv_utils.*]
ignore_missing_imports = True
[mypy-smda.*]
ignore_missing_imports = True
[mypy-flirt.*]
ignore_missing_imports = True
[mypy-idc.*]
ignore_missing_imports = True

View File

@@ -72,6 +72,9 @@ setuptools.setup(
"pycodestyle==2.7.0",
"black==21.5b2",
"isort==5.8.0",
],
"mypy": [
"types-colorama",
]
},
zip_safe=False,