mypy: Disable untyped decorators
This commit is contained in:
parent
71f9c5d206
commit
953042d75d
2
mypy.ini
2
mypy.ini
@ -7,6 +7,7 @@ python_version = 3.6
|
|||||||
warn_redundant_casts = True
|
warn_redundant_casts = True
|
||||||
warn_unused_ignores = True
|
warn_unused_ignores = True
|
||||||
disallow_subclassing_any = True
|
disallow_subclassing_any = True
|
||||||
|
disallow_untyped_decorators = True
|
||||||
## https://github.com/python/mypy/issues/5957
|
## https://github.com/python/mypy/issues/5957
|
||||||
# warn_unused_configs = True
|
# warn_unused_configs = True
|
||||||
# disallow_untyped_calls = True
|
# disallow_untyped_calls = True
|
||||||
@ -14,7 +15,6 @@ disallow_subclassing_any = True
|
|||||||
## https://github.com/python/mypy/issues/5954
|
## https://github.com/python/mypy/issues/5954
|
||||||
# disallow_incomplete_defs = True
|
# disallow_incomplete_defs = True
|
||||||
# check_untyped_defs = True
|
# check_untyped_defs = True
|
||||||
# disallow_untyped_decorators = True
|
|
||||||
# no_implicit_optional = True
|
# no_implicit_optional = True
|
||||||
# warn_return_any = True
|
# warn_return_any = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user