diff --git a/setup.cfg b/setup.cfg index 350db702..d54a42bb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,5 +16,25 @@ exclude = junit_family=xunit2 [mypy] -files=cibuildwheel/ -strict=True +python_version = 3.6 +files = cibuildwheel,test + +warn_unused_configs = True +warn_redundant_casts = True + +[mypy-cibuildwheel] +disallow_any_generics = True +disallow_subclassing_any = True +disallow_untyped_calls = True +disallow_untyped_defs = True +disallow_incomplete_defs = True +check_untyped_defs = True +disallow_untyped_decorators = True +no_implicit_optional = True +warn_unused_ignores = True +warn_return_any = True +no_implicit_reexport = True +strict_equality = True + +[mypy-pytest,setuptools] +ignore_missing_imports = True