diff --git a/mypy.ini b/mypy.ini index efcb8cbc..8461af9c 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,6 +1,8 @@ [mypy] # Is the project well-typed? strict = False +# More lenient, but still safe, reassignments +allow_redefinition = true # Early opt-in even when strict = False warn_unused_ignores = True diff --git a/pyproject.toml b/pyproject.toml index a25e78ec..e1a30924 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,7 @@ enabler = [ type = [ # upstream - # Exclude PyPy from type checks (python/mypy#20454 jaraco/skeleton#187) + # Exclude PyPy from type checks (python/mypy#20454 jaraco/skeleton#187) "pytest-mypy >= 1.0.1; platform_python_implementation != 'PyPy'", # local @@ -72,7 +72,3 @@ type = [ [tool.setuptools_scm] - - -[tool.pytest-enabler.mypy] -# Disabled due to jaraco/skeleton#143