diff --git a/pyproject.toml b/pyproject.toml index 9715dcf6b5..7f4bc26fcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,7 +131,7 @@ enabler = [ type = [ # upstream - "pytest-mypy", + "pytest-mypy>=1.0.1", # local diff --git a/pytest.ini b/pytest.ini index b6efa6f918..4d1de60e47 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,6 +3,7 @@ norecursedirs=dist build .tox .eggs addopts= --doctest-modules --import-mode importlib + --mypy-report-style mypy --doctest-glob=pkg_resources/api_tests.txt consider_namespace_packages=true filterwarnings=