Combine mypy.ini and setup.cfg

Committed via https://github.com/asottile/all-repos
This commit is contained in:
Anthony Sottile 2019-05-08 14:30:29 -07:00
parent 6d7906e131
commit 8bb09ce407
2 changed files with 13 additions and 12 deletions

View File

@ -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

View File

@ -69,3 +69,16 @@ exclude =
[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