Don't disable disallow_any_generics accross the board
This commit is contained in:
parent
3234243dbb
commit
8d0dbcc2ee
13
tox.ini
13
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue