Combine mypy.ini and setup.cfg Committed via https://github.com/asottile/all-repos
diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index ee62c89..0000000 --- a/mypy.ini +++ /dev/null
@@ -1,12 +0,0 @@ -[mypy] -check_untyped_defs = true -disallow_any_generics = true -disallow_incomplete_defs = true -disallow_untyped_defs = true -no_implicit_optional = true - -[mypy-testing.*] -disallow_untyped_defs = false - -[mypy-tests.*] -disallow_untyped_defs = false
diff --git a/setup.cfg b/setup.cfg index a28236e..2bc3d45 100644 --- a/setup.cfg +++ b/setup.cfg
@@ -69,3 +69,16 @@ [bdist_wheel] universal = True + +[mypy] +check_untyped_defs = true +disallow_any_generics = true +disallow_incomplete_defs = true +disallow_untyped_defs = true +no_implicit_optional = true + +[mypy-testing.*] +disallow_untyped_defs = false + +[mypy-tests.*] +disallow_untyped_defs = false