Ignore some pylint errors in component tests (#119352)
This commit is contained in:
parent
4320445c30
commit
a3ac0af56d
4 changed files with 9 additions and 5 deletions
|
@ -12,10 +12,10 @@ from homeassistant.components.forked_daapd.browse_media import (
|
|||
is_owntone_media_content_id,
|
||||
)
|
||||
from homeassistant.components.media_player import BrowseMedia, MediaClass, MediaType
|
||||
from homeassistant.components.spotify.const import (
|
||||
from homeassistant.components.spotify.const import ( # pylint: disable=hass-component-root-import
|
||||
MEDIA_PLAYER_PREFIX as SPOTIFY_MEDIA_PLAYER_PREFIX,
|
||||
)
|
||||
from homeassistant.components.websocket_api.const import TYPE_RESULT
|
||||
from homeassistant.components.websocket_api import TYPE_RESULT
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
|
|
|
@ -11,7 +11,9 @@ from homeassistant.components.bluetooth import (
|
|||
async_ble_device_from_address,
|
||||
async_last_service_info,
|
||||
)
|
||||
from homeassistant.components.bluetooth.const import UNAVAILABLE_TRACK_SECONDS
|
||||
from homeassistant.components.bluetooth.const import ( # pylint: disable=hass-component-root-import
|
||||
UNAVAILABLE_TRACK_SECONDS,
|
||||
)
|
||||
from homeassistant.components.ibeacon.const import (
|
||||
DOMAIN,
|
||||
UNAVAILABLE_TIMEOUT,
|
||||
|
|
|
@ -4,7 +4,9 @@ from datetime import timedelta
|
|||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.bluetooth.const import UNAVAILABLE_TRACK_SECONDS
|
||||
from homeassistant.components.bluetooth.const import ( # pylint: disable=hass-component-root-import
|
||||
UNAVAILABLE_TRACK_SECONDS,
|
||||
)
|
||||
from homeassistant.components.ibeacon.const import DOMAIN, UPDATE_INTERVAL
|
||||
from homeassistant.components.sensor import ATTR_STATE_CLASS
|
||||
from homeassistant.const import (
|
||||
|
|
|
@ -12,7 +12,7 @@ from zigpy.application import ControllerApplication
|
|||
import zigpy.backups
|
||||
from zigpy.exceptions import NetworkSettingsInconsistent
|
||||
|
||||
from homeassistant.components.homeassistant_sky_connect.const import (
|
||||
from homeassistant.components.homeassistant_sky_connect.const import ( # pylint: disable=hass-component-root-import
|
||||
DOMAIN as SKYCONNECT_DOMAIN,
|
||||
)
|
||||
from homeassistant.components.repairs import DOMAIN as REPAIRS_DOMAIN
|
||||
|
|
Loading…
Add table
Reference in a new issue