mirror of
https://github.com/home-assistant/core.git
synced 2026-10-10 11:43:39 +01:00
Lint config cleanups (#28864)
* Remove bunch of unneeded lint exclusions * Use symbolic names instead of identifiers in pylint disables * Tighten scope of some pylint disables
This commit is contained in:
1 parent
afaa464142
commit
99c7608fb4
77 files changed
+92
-126
No files matched your search
@@ -147,7 +147,6 @@ def execute(hass, filename, source, data=None):
|
||||
|
||||
def protected_getattr(obj, name, default=None):
|
||||
"""Restricted method to get attributes."""
|
||||
# pylint: disable=too-many-boolean-expressions
|
||||
if name.startswith("async_"):
|
||||
raise ScriptError("Not allowed to access async methods")
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user