lint: enable E722 do not use bare except

This commit is contained in:
Leonardo Lazzaro
2022-08-18 20:23:15 +02:00
parent 73b61717a9
commit 61bb4e783b
10 changed files with 11 additions and 10 deletions

View File

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