aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-python.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lint/lint-python.py')
-rwxr-xr-xtest/lint/lint-python.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lint/lint-python.py b/test/lint/lint-python.py
index 4d16facfea..4ec7608708 100755
--- a/test/lint/lint-python.py
+++ b/test/lint/lint-python.py
@@ -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