File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,12 +232,12 @@ def pre_commit():
232
232
field .sep = "/"
233
233
if name in counts and bool (counts [name ]) ^ multilingual :
234
234
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" )
236
236
elif multilingual :
237
237
raise click .ClickException (f"{ name } is multilingual at { field .path } , but not elsewhere" )
238
238
else :
239
239
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 } "
241
241
)
242
242
if multilingual :
243
243
counts [name ].append (field .path )
You can’t perform that action at this time.
0 commit comments