Skip to content

Commit 4fd78e6

Browse files
committed
black: changes due to latest version of black
1 parent 245f9ef commit 4fd78e6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libcoveweb2/templatetags/cove_tags.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ def cove_modal_list(**kw):
1515
@register.inclusion_tag("modal_errors.html")
1616
def cove_modal_errors(**context):
1717
if hasattr(settings, "VALIDATION_ERROR_LOCATIONS_LENGTH"):
18-
context[
19-
"validation_error_locations_length"
20-
] = settings.VALIDATION_ERROR_LOCATIONS_LENGTH
18+
context["validation_error_locations_length"] = (
19+
settings.VALIDATION_ERROR_LOCATIONS_LENGTH
20+
)
2121
else:
2222
context["validation_error_locations_length"] = 1000
2323
if hasattr(settings, "VALIDATION_ERROR_LOCATIONS_SAMPLE"):
24-
context[
25-
"validation_error_locations_sample"
26-
] = settings.VALIDATION_ERROR_LOCATIONS_SAMPLE
24+
context["validation_error_locations_sample"] = (
25+
settings.VALIDATION_ERROR_LOCATIONS_SAMPLE
26+
)
2727
return context
2828

2929

0 commit comments

Comments
 (0)