1
0
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:
Marc Mueller
2023-10-11 13:25:11 +02:00
committed by GitHub
parent f116e83b62
commit 0b2b486754
18 changed files with 32 additions and 28 deletions
+7 -2
View File
@@ -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",