mypy: Add types-setuptools in tox.ini.

Remove extra ignores in .mypy.ini.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
Chris PeBenito 2023-03-27 09:18:01 -04:00
parent 878059debf
commit 5943451017
2 changed files with 1 additions and 6 deletions

View File

@ -3,9 +3,6 @@ no_implicit_optional = True
pretty = True
# NetworkX does not have annotations
[mypy-networkx]
ignore_missing_imports = True
[mypy-networkx.*]
ignore_missing_imports = True
@ -14,6 +11,3 @@ ignore_missing_imports = True
[mypy-sip]
ignore_missing_imports = True
[mypy-pkg_resources]
ignore_missing_imports = True

View File

@ -32,6 +32,7 @@ commands = pylint -E --rcfile .pylintrc setools tests seinfo seinfoflow s
[testenv:mypy]
deps = {[testenv]deps}
types-setuptools
mypy
commands_pre = mypy --version
commands = mypy -p setools