Lint exclusions (#28655)

* Remove malformed pylint disable markers

* Remove some unused imports

* Remove some unneeded lint exclusions

* Remove more unneeded lint exclusions

* Add specific codes to all noqa's
This commit is contained in:
Ville Skyttä authored and Fabian Affolter committed 2019-11-16 10:22:07 +01:00
1 parent 2aee366a1f
commit d88ca0f5cb
73 files changed
+113 -142

No files matched your search

+2 -2
View File
@@ -20,11 +20,11 @@ from homeassistant.util import ssl as ssl_util
from .auth import setup_auth
from .ban import setup_bans
from .const import KEY_AUTHENTICATED, KEY_HASS, KEY_HASS_USER, KEY_REAL_IP # noqa
from .const import KEY_AUTHENTICATED, KEY_HASS, KEY_HASS_USER, KEY_REAL_IP # noqa: F401
from .cors import setup_cors
from .real_ip import setup_real_ip
from .static import CACHE_HEADERS, CachingStaticResource
from .view import HomeAssistantView # noqa
from .view import HomeAssistantView # noqa: F401
# mypy: allow-untyped-defs, no-check-untyped-defs