Lint suppression cleanups (#47248)

* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
This commit is contained in:
Ville Skyttä 2021-03-02 10:02:04 +02:00 committed by GitHub
parent 38a2f196b8
commit dc880118a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
217 changed files with 237 additions and 306 deletions

View file

@ -42,7 +42,6 @@ from homeassistant.helpers.reload import async_integration_yaml_config
from homeassistant.loader import IntegrationNotFound, async_get_integration
from homeassistant.util import get_local_ip
# pylint: disable=unused-import
from . import ( # noqa: F401
type_cameras,
type_covers,

View file

@ -36,13 +36,13 @@ from .const import (
DEFAULT_AUTO_START,
DEFAULT_CONFIG_FLOW_PORT,
DEFAULT_HOMEKIT_MODE,
DOMAIN,
HOMEKIT_MODE_ACCESSORY,
HOMEKIT_MODE_BRIDGE,
HOMEKIT_MODES,
SHORT_BRIDGE_NAME,
VIDEO_CODEC_COPY,
)
from .const import DOMAIN # pylint:disable=unused-import
from .util import async_find_next_available_port, state_needs_accessory_mode
CONF_CAMERA_COPY = "camera_copy"