Add new rule to enforce relative imports in pylint (#77358)

* Add new rule to enforce relative imports in pylint

* Early return

* Adjust components
This commit is contained in:
epenet 2022-08-29 08:55:32 +02:00 committed by GitHub
parent 067d21a307
commit 8ed689fede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 46 additions and 23 deletions

View file

@ -5,7 +5,6 @@ import datetime
import voluptuous as vol
from homeassistant.components import pilight
from homeassistant.components.binary_sensor import PLATFORM_SCHEMA, BinarySensorEntity
from homeassistant.const import (
CONF_DISARM_AFTER_TRIGGER,
@ -21,6 +20,8 @@ from homeassistant.helpers.event import track_point_in_time
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from homeassistant.util import dt as dt_util
from .. import pilight
CONF_VARIABLE = "variable"
CONF_RESET_DELAY_SEC = "reset_delay_sec"