Don't disable disallow_any_generics accross the board

This commit is contained in:
Wilfredo Sánchez 2020-06-04 14:39:04 -07:00
parent 3234243dbb
commit 8d0dbcc2ee
1 changed files with 9 additions and 4 deletions

13
tox.ini
View File

@ -200,7 +200,7 @@ commands =
# Global settings
check_untyped_defs = True
disallow_any_generics = False
disallow_any_generics = True
disallow_incomplete_defs = True
disallow_untyped_defs = True
no_implicit_optional = True
@ -213,10 +213,12 @@ warn_return_any = True
warn_unreachable = True
warn_unused_ignores = True
# Don't complain about dependencies known to lack type hints
# DrawCallable is generic
[mypy-idna]
ignore_missing_imports = True
[mypy-hyperlink.hypothesis]
disallow_any_generics = False
[mypy-hyperlink.test.test_hypothesis]
disallow_any_generics = False
# Don't complain about dependencies known to lack type hints
@ -225,6 +227,9 @@ ignore_missing_imports = True
[mypy-hypothesis.*]
ignore_missing_imports = True
[mypy-idna]
ignore_missing_imports = True
##
# Coverage report