Skip to content

Commit 234624e

Browse files
Bump black from 23.12.1 to 24.2.0 (#121)
1 parent da3692b commit 234624e

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Sphinx configuration file."""
2+
23
import os
34
import sys
45

linter-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bandit==1.7.7
2-
black==23.12.1
2+
black==24.2.0
33
flake8==7.0.0
44
isort==5.13.2
55
pydocstyle[toml]==6.3.0

mailauth/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Django authentication via login URLs, no passwords required."""
2+
23
from . import _version
34

45
__version__ = _version.version

mailauth/contrib/user/admin.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ def anonymize(self, request, queryset):
3232
)
3333
% {
3434
"count": count,
35-
"obj_name": self.model._meta.verbose_name_plural
36-
if count > 1
37-
else self.model._meta.verbose_name,
35+
"obj_name": (
36+
self.model._meta.verbose_name_plural
37+
if count > 1
38+
else self.model._meta.verbose_name
39+
),
3840
},
3941
fail_silently=True,
4042
)

0 commit comments

Comments
 (0)