diff --git a/pyproject.toml b/pyproject.toml index d45597b77..bc0e090aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,3 +123,11 @@ target-version = ['py38'] [tool.check-wheel-contents] # W009: Wheel contains multiple toplevel library entries ignore = "W009" + +[tool.mypy] +strict = true +disallow_untyped_defs = false +disallow_incomplete_defs = false +disallow_untyped_calls = false +warn_unused_ignores = false +ignore_missing_imports = true diff --git a/testing/example_scripts/unittest/test_unittest_asynctest.py b/testing/example_scripts/unittest/test_unittest_asynctest.py index fb2661706..3c17bd074 100644 --- a/testing/example_scripts/unittest/test_unittest_asynctest.py +++ b/testing/example_scripts/unittest/test_unittest_asynctest.py @@ -8,7 +8,7 @@ import asynctest teardowns: List[None] = [] -class Test(asynctest.TestCase): +class Test(asynctest.TestCase): # type: ignore[misc] async def tearDown(self): teardowns.append(None)