Skip to content

Commit

Permalink
Enable flake8-blind-except
Browse files Browse the repository at this point in the history
  • Loading branch information
markbandstra committed May 25, 2024
1 parent 5409b63 commit 5e4c0b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ select = [
# "ANN", # flake8-annotations
"ASYNC", # flake8-async
"S", # flake8-bandit
# "BLE", # flake8-blind-except
"BLE", # flake8-blind-except
# "FBT", # flake8-boolean-trap
"B", # flake8-bugbear
"A", # flake8-builtins
Expand Down
2 changes: 1 addition & 1 deletion tests/parsers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def run_parser(self, read_fn, extension, write=False):
"""Run the test for the given class and file extension."""
try:
plt.figure()
except Exception:
except Exception: # noqa: BLE001 (blind exception)
# TclError on CI bc no display. skip the test
return
plt.title(f"Testing {extension}")
Expand Down

0 comments on commit 5e4c0b2

Please sign in to comment.