mirror of https://github.com/home-assistant/core
Enable no_implicit_optional globally [mypy] (#76723)
This commit is contained in:
parent
4fc1d59b74
commit
bac44cf473
|
@ -54,6 +54,7 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
|
|||
# Enable some checks globally.
|
||||
"ignore_missing_imports": "true",
|
||||
"strict_equality": "true",
|
||||
"no_implicit_optional": "true",
|
||||
"warn_incomplete_stub": "true",
|
||||
"warn_redundant_casts": "true",
|
||||
"warn_unused_configs": "true",
|
||||
|
@ -74,7 +75,6 @@ STRICT_SETTINGS: Final[list[str]] = [
|
|||
"disallow_untyped_calls",
|
||||
"disallow_untyped_decorators",
|
||||
"disallow_untyped_defs",
|
||||
"no_implicit_optional",
|
||||
"warn_return_any",
|
||||
"warn_unreachable",
|
||||
# TODO: turn these on, address issues
|
||||
|
|
Loading…
Reference in New Issue