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:
1 parent
2aee366a1f
commit
d88ca0f5cb
73 files changed
+113
-142
No files matched your search
+2
-2
@@ -56,7 +56,7 @@ from homeassistant.helpers.json import JSONEncoder
|
||||
from homeassistant.setup import async_setup_component, setup_component
|
||||
from homeassistant.util.unit_system import METRIC_SYSTEM
|
||||
from homeassistant.util.async_ import run_callback_threadsafe
|
||||
from homeassistant.components.device_automation import ( # noqa
|
||||
from homeassistant.components.device_automation import ( # noqa: F401
|
||||
_async_get_device_automations as async_get_device_automations,
|
||||
_async_get_device_automation_capabilities as async_get_device_automation_capabilities,
|
||||
)
|
||||
@@ -1084,7 +1084,7 @@ class hashdict(dict):
|
||||
|
||||
"""
|
||||
|
||||
def __key(self): # noqa: D105 no docstring
|
||||
def __key(self):
|
||||
return tuple(sorted(self.items()))
|
||||
|
||||
def __repr__(self): # noqa: D105 no docstring
|
||||
|
||||
Reference in new issue
Block a user