mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 05:12:21 +01:00
[ruff] Enable RET and fix all violations (#9929)
This commit is contained in:
@@ -271,8 +271,7 @@ padding = LValidator(padding_validator, int32, retmapper=literal)
|
||||
|
||||
|
||||
def zoom_validator(value):
|
||||
value = cv.float_range(0.1, 10.0)(value)
|
||||
return value
|
||||
return cv.float_range(0.1, 10.0)(value)
|
||||
|
||||
|
||||
def zoom_retmapper(value):
|
||||
|
Reference in New Issue
Block a user