lint: enable E722 do not use bare except
This commit is contained in:
1 parent
73b61717a9
commit
61bb4e783b
10 files changed
+11
-10
No files matched your search
@@ -47,6 +47,7 @@ ENABLED = (
|
||||
'E711,' # comparison to None should be 'if cond is None:'
|
||||
'E714,' # test for object identity should be "is not"
|
||||
'E721,' # do not compare types, use "isinstance()"
|
||||
'E722,' # do not use bare 'except'
|
||||
'E742,' # do not define classes named "l", "O", or "I"
|
||||
'E743,' # do not define functions named "l", "O", or "I"
|
||||
'E901,' # SyntaxError: invalid syntax
|
||||
|
||||
Reference in new issue
Block a user