mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 14:08:21 +00:00
Flake8 35 (#11972)
* Upgrade flake8 to 3.5 * Fix flake8 bare except errors * Make flake8 and pylint cooperate
This commit is contained in:
committed by
Paulus Schoutsen
parent
5426e5c875
commit
78a3c01f27
@@ -37,7 +37,7 @@ def patch_weakref_tasks():
|
||||
asyncio.tasks.Task._all_tasks = IgnoreCalls()
|
||||
try:
|
||||
del asyncio.tasks.Task.__del__
|
||||
except:
|
||||
except: # noqa: E722
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user