Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and renovate[bot] committed Aug 8, 2023
1 parent 86da676 commit 43bbf4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apertium
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ if CMD == "config":
print("graph_category apertium")
print()
for key, attribs in group_keys(data):
print("{0}.label {0}".format(key))
print(f"{key}.label {key}")
for attrib, value in attribs.items():
print(f"{key}.{attrib} {value}")
elif CMD == "autoconf":
Expand Down
2 changes: 1 addition & 1 deletion ksm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ elif "config" in sys.argv:
print("graph_category system")
print("graph_info kernel shared memory")
for key in KEYS:
print("{0}.label {0}".format(key))
print(f"{key}.label {key}")
else:
os.chdir(KSM_DIR)
for key in KEYS:
Expand Down
2 changes: 1 addition & 1 deletion weblate
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if CMD == "config":
if items == "CELERY":
items = [f"celery_{queue}" for queue in sorted(data["celery_queues"])]
for key in items:
print("{0}.label {0}".format(key))
print(f"{key}.label {key}")
if key in ATTRIBS:
for attrib, value in ATTRIBS[key].items():
print(f"{key}.{attrib} {value}")
Expand Down

0 comments on commit 43bbf4e

Please sign in to comment.