mirror of
https://github.com/vee1e/capa.git
synced 2026-09-05 04:37:22 +00:00
setup: add initial mypy setup
invoke like: mypy --config-file .github/mypy/mypy.ini capa/main.py
This commit is contained in:
parent
23354ec452
commit
9a4e9b6586
2 changed files with 22 additions and 0 deletions
19
.github/mypy/mypy.ini
vendored
Normal file
19
.github/mypy/mypy.ini
vendored
Normal 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
|
||||
3
setup.py
3
setup.py
|
|
@ -72,6 +72,9 @@ setuptools.setup(
|
|||
"pycodestyle==2.7.0",
|
||||
"black==21.5b2",
|
||||
"isort==5.8.0",
|
||||
],
|
||||
"mypy": [
|
||||
"types-colorama",
|
||||
]
|
||||
},
|
||||
zip_safe=False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue