Skip to content

Commit

Permalink
add flake8-bugbear
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichFroebel committed Jan 4, 2024
1 parent 3629e0e commit 8d33e84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion brother_ql_web/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def print_text() -> dict[str, bool | str]:

try:
parameters = get_label_parameters(bottle.request)
except (AttributeError, IndexError, LookupError) as e:
except (AttributeError, LookupError) as e:
return_dict["error"] = str(e)
return return_dict

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"black",
"flake8",
"pep8-naming",
"flake8-bugbear",
"requests",
'importlib-resources; python_version < "3.9"',
],
Expand Down

0 comments on commit 8d33e84

Please sign in to comment.