mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Ignore some pylint errors in component tests (#119352)
This commit is contained in:
parent
4320445c30
commit
a3ac0af56d
@ -12,10 +12,10 @@ from homeassistant.components.forked_daapd.browse_media import (
|
|||||||
is_owntone_media_content_id,
|
is_owntone_media_content_id,
|
||||||
)
|
)
|
||||||
from homeassistant.components.media_player import BrowseMedia, MediaClass, MediaType
|
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,
|
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.core import HomeAssistant
|
||||||
from homeassistant.setup import async_setup_component
|
from homeassistant.setup import async_setup_component
|
||||||
|
|
||||||
|
@ -11,7 +11,9 @@ from homeassistant.components.bluetooth import (
|
|||||||
async_ble_device_from_address,
|
async_ble_device_from_address,
|
||||||
async_last_service_info,
|
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 (
|
from homeassistant.components.ibeacon.const import (
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
UNAVAILABLE_TIMEOUT,
|
UNAVAILABLE_TIMEOUT,
|
||||||
|
@ -4,7 +4,9 @@ from datetime import timedelta
|
|||||||
|
|
||||||
import pytest
|
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.ibeacon.const import DOMAIN, UPDATE_INTERVAL
|
||||||
from homeassistant.components.sensor import ATTR_STATE_CLASS
|
from homeassistant.components.sensor import ATTR_STATE_CLASS
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
|
@ -12,7 +12,7 @@ from zigpy.application import ControllerApplication
|
|||||||
import zigpy.backups
|
import zigpy.backups
|
||||||
from zigpy.exceptions import NetworkSettingsInconsistent
|
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,
|
DOMAIN as SKYCONNECT_DOMAIN,
|
||||||
)
|
)
|
||||||
from homeassistant.components.repairs import DOMAIN as REPAIRS_DOMAIN
|
from homeassistant.components.repairs import DOMAIN as REPAIRS_DOMAIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user