Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit 8ea9bac

Browse files
authored
Merge pull request #373 from staticdev/dependabot/pip/flake8-bugbear-21.9.2
Bump flake8-bugbear from 21.4.3 to 21.9.2
2 parents b2dcf45 + fb67383 commit 8ea9bac

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Nox failed to import the 'nox-poetry' package.
1515
Please install it using the following command:
1616
{sys.executable} -m pip install nox-poetry"""
17-
raise SystemExit(dedent(message))
17+
raise SystemExit(dedent(message)) from None
1818

1919

2020
package = "django_sorting_bootstrap"

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ django = ">=2.0"
3535
black = "^21.9b0"
3636
flake8 = "^4.0.1"
3737
flake8-bandit = "^2.1.2"
38-
flake8-bugbear = "^21.4.3"
38+
flake8-bugbear = "^21.9.2"
3939
safety = "^1.10.3"
4040
pytest = "^6.2.5"
4141
mypy = "^0.910"

src/django_sorting_bootstrap/templatetags/sorting_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def auto_sort(parser, token):
174174
except ValueError:
175175
raise template.TemplateSyntaxError(
176176
"{} tag requires a single argument".format(token.contents.split()[0])
177-
)
177+
) from None
178178
return SortedQuerysetNode(queryset)
179179

180180

0 commit comments

Comments
 (0)