Fix new UP031 errors from ruff 0.4.2

This commit is contained in:
Nicola Soranzo
2024-04-29 00:09:38 +01:00
parent 0e89124a13
commit 0629908541
127 changed files with 381 additions and 425 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ def main():
step, src, ds_id = v.split("=")
data["ds_map"][step] = {"src": src, "id": ds_id}
except IndexError:
print("usage: %s key url workflow_id history step=src=dataset_id" % os.path.basename(sys.argv[0]))
print(f"usage: {os.path.basename(sys.argv[0])} key url workflow_id history step=src=dataset_id")
sys.exit(1)
submit(sys.argv[1], sys.argv[2], data)