Add mypy flags (#2472)

This commit is contained in:
Adrian Garcia Badaracco 2022-11-29 10:46:00 -06:00 committed by GitHub
parent 1b4e7fbb48
commit 1fc6a52546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,12 @@ disallow_any_generics = True
ignore_missing_imports = True
no_implicit_optional = True
show_error_codes = True
warn_unused_configs = True
disallow_subclassing_any = True
check_untyped_defs = True
disallow_untyped_decorators = True
warn_redundant_casts = True
strict_concatenate = True
[mypy-tests.*]
disallow_untyped_defs = False