aboutsummaryrefslogtreecommitdiff
path: root/test/lint
diff options
context:
space:
mode:
authorLeonardo Lazzaro <llazzaro@dc.uba.ar>2022-08-18 20:23:15 +0200
committerLeonardo Lazzaro <llazzaro@dc.uba.ar>2023-02-18 11:24:09 +0000
commit61bb4e783b3acc62b121a228f6b14c2462e23315 (patch)
tree548f66ac6d5c428cd63485b373308081ffb00b5b /test/lint
parent73b61717a977fc9d23f1bae3f8620641a9dee1f3 (diff)
downloadbitcoin-61bb4e783b3acc62b121a228f6b14c2462e23315.tar.xz
lint: enable E722 do not use bare except
Diffstat (limited to 'test/lint')
-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