1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Update mypy to 1.5.0 (#98179)

This commit is contained in:
Marc Mueller
2023-08-11 13:13:04 +02:00
committed by GitHub
parent 990ec1d445
commit fb66ceb302
7 changed files with 10 additions and 9 deletions

View File

@@ -51,8 +51,9 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
]
),
"disable_error_code": ", ".join(["annotation-unchecked"]),
# Strict_concatenate breaks passthrough ParamSpec typing
"strict_concatenate": "false",
# Impractical in real code
# E.g. this breaks passthrough ParamSpec typing with Concatenate
"extra_checks": "false",
}
# This is basically the list of checks which is enabled for "strict=true".