Flake8 35 (#11972)
* Upgrade flake8 to 3.5 * Fix flake8 bare except errors * Make flake8 and pylint cooperate
This commit is contained in:
1 parent
5426e5c875
commit
78a3c01f27
12 files changed
+15
-21
No files matched your search
@@ -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