1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00
* Upgrade flake8 to 3.5

* Fix flake8 bare except errors

* Make flake8 and pylint cooperate
This commit is contained in:
Ville Skyttä
2018-01-29 10:23:53 +02:00
committed by Paulus Schoutsen
parent 5426e5c875
commit 78a3c01f27
12 changed files with 15 additions and 21 deletions

View File

@@ -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