mirror of
https://github.com/esphome/esphome.git
synced 2025-09-13 00:32:20 +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:
@@ -20,8 +20,7 @@ GPIOLCDDisplay = lcd_gpio_ns.class_("GPIOLCDDisplay", lcd_base.LCDDisplay)
|
||||
def validate_pin_length(value):
|
||||
if len(value) != 4 and len(value) != 8:
|
||||
raise cv.Invalid(
|
||||
"LCD Displays can either operate in 4-pin or 8-pin mode,"
|
||||
"not {}-pin mode".format(len(value))
|
||||
f"LCD Displays can either operate in 4-pin or 8-pin mode,not {len(value)}-pin mode"
|
||||
)
|
||||
return value
|
||||
|
||||
|
Reference in New Issue
Block a user