apply ruff fixes for UP031

This commit is contained in:
Min RK
2024-05-07 11:33:59 +02:00
parent 6051dc9fa7
commit 5636472ebf
37 changed files with 130 additions and 136 deletions

View File

@@ -157,7 +157,7 @@ class CSS(BaseCommand):
try:
check_call(args, cwd=here, shell=shell)
except OSError as e:
print("Failed to build css: %s" % e, file=sys.stderr)
print(f"Failed to build css: {e}", file=sys.stderr)
print("You can install js dependencies with `npm install`", file=sys.stderr)
raise
# update data-files in case this created new files