Applied Black's 2025 stable style.

https://github.com/psf/black/releases/tag/25.1.0
This commit is contained in:
Mariusz Felisiak
2025-03-01 19:41:37 +01:00
committed by GitHub
parent ea1e3703be
commit ff3aaf036f
45 changed files with 210 additions and 182 deletions

View File

@@ -73,7 +73,7 @@ class FormsUtilsTestCase(SimpleTestCase):
)
# Can take a Unicode string.
self.assertHTMLEqual(
str(ErrorList(ValidationError("Not \u03C0.").messages)),
str(ErrorList(ValidationError("Not \u03c0.").messages)),
'<ul class="errorlist"><li>Not π.</li></ul>',
)
# Can take a lazy string.
@@ -107,7 +107,7 @@ class FormsUtilsTestCase(SimpleTestCase):
ValidationError(
[
"1. First error.",
"2. Not \u03C0.",
"2. Not \u03c0.",
gettext_lazy("3. Error."),
{
"error_1": "4. First dict error.",