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
@@ -231,7 +231,6 @@ class Script:
|
||||
|
||||
Should only be called on exceptions raised by this scripts async_run.
|
||||
"""
|
||||
# pylint: disable=protected-access
|
||||
step = self._exception_step
|
||||
action = self.sequence[step]
|
||||
action_type = _determine_action(action)
|
||||
@@ -281,7 +280,6 @@ class Script:
|
||||
@callback
|
||||
def async_script_delay(now):
|
||||
"""Handle delay."""
|
||||
# pylint: disable=cell-var-from-loop
|
||||
with suppress(ValueError):
|
||||
self._async_listener.remove(unsub)
|
||||
|
||||
|
||||
Reference in new issue
Block a user