From 5943451017c1131dbf00e453532933c88c0b930b Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Mon, 27 Mar 2023 09:18:01 -0400 Subject: [PATCH] mypy: Add types-setuptools in tox.ini. Remove extra ignores in .mypy.ini. Signed-off-by: Chris PeBenito --- .mypy.ini | 6 ------ tox.ini | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.mypy.ini b/.mypy.ini index b45560b..b8ca9fa 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -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 diff --git a/tox.ini b/tox.ini index 737ab61..e1649fb 100644 --- a/tox.ini +++ b/tox.ini @@ -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