mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Revert mypy_config formatting (#115518)
This commit is contained in:
parent
84a975b61e
commit
27f6a7de43
@ -43,8 +43,20 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
|
||||
"warn_redundant_casts": "true",
|
||||
"warn_unused_configs": "true",
|
||||
"warn_unused_ignores": "true",
|
||||
"enable_error_code": "ignore-without-code, redundant-self, truthy-iterable",
|
||||
"disable_error_code": "annotation-unchecked, import-not-found, import-untyped",
|
||||
"enable_error_code": ", ".join( # noqa: FLY002
|
||||
[
|
||||
"ignore-without-code",
|
||||
"redundant-self",
|
||||
"truthy-iterable",
|
||||
]
|
||||
),
|
||||
"disable_error_code": ", ".join( # noqa: FLY002
|
||||
[
|
||||
"annotation-unchecked",
|
||||
"import-not-found",
|
||||
"import-untyped",
|
||||
]
|
||||
),
|
||||
# Impractical in real code
|
||||
# E.g. this breaks passthrough ParamSpec typing with Concatenate
|
||||
"extra_checks": "false",
|
||||
|
Loading…
x
Reference in New Issue
Block a user