mirror of
https://github.com/esphome/esphome.git
synced 2025-09-16 10:12:21 +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:
@@ -49,8 +49,7 @@ def validate_min_max_value(config):
|
||||
max_val = config[CONF_MAX_VALUE]
|
||||
if min_val >= max_val:
|
||||
raise cv.Invalid(
|
||||
"Max value {} must be smaller than min value {}"
|
||||
"".format(max_val, min_val)
|
||||
f"Max value {max_val} must be smaller than min value {min_val}"
|
||||
)
|
||||
return config
|
||||
|
||||
|
Reference in New Issue
Block a user