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:
parent
067d21a307
commit
8ed689fede
23 changed files with 46 additions and 23 deletions
|
@ -3,11 +3,11 @@ from __future__ import annotations
|
|||
|
||||
from typing import Any
|
||||
|
||||
from homeassistant.components import mysensors
|
||||
from homeassistant.components.notify import ATTR_TARGET, BaseNotificationService
|
||||
from homeassistant.const import Platform
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from .. import mysensors
|
||||
from .const import DevId, DiscoveryInfo
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue