Skip to content

Commit 05b70e8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5748195 commit 05b70e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,12 @@ def pre_commit():
232232
field.sep = "/"
233233
if name in counts and bool(counts[name]) ^ multilingual:
234234
if not multilingual and field.schema["type"] == "object":
235-
click.secho(f'{field.path} is an object. {" & ".join(counts[name])} is/are multilingual.', fg="yellow")
235+
click.secho(f"{field.path} is an object. {' & '.join(counts[name])} is/are multilingual.", fg="yellow")
236236
elif multilingual:
237237
raise click.ClickException(f"{name} is multilingual at {field.path}, but not elsewhere")
238238
else:
239239
raise click.ClickException(
240-
f'{name} is multilingual at {" & ".join(counts[name])}, but not at {field.path}'
240+
f"{name} is multilingual at {' & '.join(counts[name])}, but not at {field.path}"
241241
)
242242
if multilingual:
243243
counts[name].append(field.path)

0 commit comments

Comments
 (0)