mirror of
https://github.com/home-assistant/core.git
synced 2026-05-08 17:49:37 +01:00
Update mypy to 1.6.0 (#101780)
This commit is contained in:
@@ -35,7 +35,6 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
|
||||
"show_error_codes": "true",
|
||||
"follow_imports": "silent",
|
||||
# Enable some checks globally.
|
||||
"ignore_missing_imports": "true",
|
||||
"local_partial_types": "true",
|
||||
"strict_equality": "true",
|
||||
"no_implicit_optional": "true",
|
||||
@@ -50,7 +49,13 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
|
||||
"truthy-iterable",
|
||||
]
|
||||
),
|
||||
"disable_error_code": ", ".join(["annotation-unchecked"]),
|
||||
"disable_error_code": ", ".join(
|
||||
[
|
||||
"annotation-unchecked",
|
||||
"import-not-found",
|
||||
"import-untyped",
|
||||
]
|
||||
),
|
||||
# Impractical in real code
|
||||
# E.g. this breaks passthrough ParamSpec typing with Concatenate
|
||||
"extra_checks": "false",
|
||||
|
||||
Reference in New Issue
Block a user