mirror of
https://github.com/esphome/esphome.git
synced 2025-10-10 13:53:49 +01:00
Bump pylint from 2.10.2 to 2.11.1 (#2334)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Otto winter <otto@otto-winter.com>
This commit is contained in:
@@ -490,8 +490,7 @@ def validate_effects(allowed_effects):
|
||||
if key not in allowed_effects:
|
||||
errors.append(
|
||||
cv.Invalid(
|
||||
"The effect '{}' is not allowed for this "
|
||||
"light type".format(key),
|
||||
f"The effect '{key}' is not allowed for this light type",
|
||||
[i],
|
||||
)
|
||||
)
|
||||
@@ -500,8 +499,7 @@ def validate_effects(allowed_effects):
|
||||
if name in names:
|
||||
errors.append(
|
||||
cv.Invalid(
|
||||
"Found the effect name '{}' twice. All effects must have "
|
||||
"unique names".format(name),
|
||||
f"Found the effect name '{name}' twice. All effects must have unique names",
|
||||
[i],
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user