mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 00:05:43 +00:00
Cleaned some low hanging pyling warnings. (#6)
This commit is contained in:
committed by
Otto Winter
parent
633d20d023
commit
ac5ab33975
@@ -314,7 +314,7 @@ hex_uint32_t = vol.All(hex_int, vol.Range(min=0, max=4294967295))
|
||||
i2c_address = hex_uint8_t
|
||||
|
||||
|
||||
def invalid(value):
|
||||
def invalid(_):
|
||||
raise vol.Invalid("This shouldn't happen.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user