mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Enable error-code redundant-self [mypy 1.0] (#87602)
This commit is contained in:
@@ -48,7 +48,13 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
|
||||
"warn_redundant_casts": "true",
|
||||
"warn_unused_configs": "true",
|
||||
"warn_unused_ignores": "true",
|
||||
"enable_error_code": ", ".join(["ignore-without-code", "truthy-iterable"]),
|
||||
"enable_error_code": ", ".join(
|
||||
[
|
||||
"ignore-without-code",
|
||||
"redundant-self",
|
||||
"truthy-iterable",
|
||||
]
|
||||
),
|
||||
"disable_error_code": ", ".join(["annotation-unchecked"]),
|
||||
# Strict_concatenate breaks passthrough ParamSpec typing
|
||||
"strict_concatenate": "false",
|
||||
|
||||
Reference in New Issue
Block a user