summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml3
-rw-r--r--tests/test_oddball.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 4f2b5936..b21ba3b7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,13 +6,12 @@ requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[tool.mypy]
-# mypy settings started from https://quantlane.com/blog/type-checking-large-codebase/
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
-disallow_untyped_decorators = false
+disallow_untyped_decorators = true
disallow_untyped_defs = true
follow_imports = "silent"
ignore_missing_imports = true
diff --git a/tests/test_oddball.py b/tests/test_oddball.py
index 23e3ce9d..e4147dc6 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -155,7 +155,7 @@ class MemoryLeakTest(CoverageTest):
It may still fail occasionally, especially on PyPy.
"""
- @flaky
+ @flaky # type: ignore[misc]
@pytest.mark.skipif(not env.C_TRACER, reason="Only the C tracer has refcounting issues")
def test_for_leaks(self) -> None:
# Our original bad memory leak only happened on line numbers > 255, so