1
0
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:
Jimmy Hedman
2018-04-12 12:56:03 +02:00
committed by Otto Winter
parent 633d20d023
commit ac5ab33975
2 changed files with 6 additions and 6 deletions

View File

@@ -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.")