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
@@ -162,7 +162,6 @@ class Timer(RestoreEntity):
|
||||
event = EVENT_TIMER_RESTARTED
|
||||
|
||||
self._state = STATUS_ACTIVE
|
||||
# pylint: disable=redefined-outer-name
|
||||
start = dt_util.utcnow()
|
||||
if self._remaining and newduration is None:
|
||||
self._end = start + self._remaining
|
||||
|
||||
Reference in new issue
Block a user