diff options
author | Luke Drummond <ldrumm@rtps.co> | 2020-11-03 21:31:44 +0000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-04 12:24:48 +0200 |
commit | 63814543de6f46fc8aee7d3884a8746c968806ca (patch) | |
tree | a43aeb1f7b6d722a663b89a63a65ead11f5c8fce | |
parent | 2bd309543fc530e2919be605cc80c0849321537b (diff) | |
download | meson-63814543de6f46fc8aee7d3884a8746c968806ca.zip meson-63814543de6f46fc8aee7d3884a8746c968806ca.tar.gz meson-63814543de6f46fc8aee7d3884a8746c968806ca.tar.bz2 |
Bare exceptions are no longer allowed [NFC]
The last instances of
try:
...
except:
...
were removed in bf98ffca. The sideci.yml file was updated, but the
flake8 config still allows this. Ensure that flake8 tests fail if this
questionable construct appears again.
-rw-r--r-- | .flake8 | 2 | ||||
-rw-r--r-- | .pylintrc | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -24,8 +24,6 @@ ignore = E731, # E741: ambiguous variable name 'l' E741, - # E722: do not use bare except' - E722, # W504: line break after binary operator W504, # A003: builtin class attribute @@ -22,4 +22,5 @@ enable= singleton-comparison, too-many-function-args, unexpected-keyword-arg, - unreachable + unreachable, + bare-except |