Skip to content

Commit

Permalink
Black reformat only.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Jan 4, 2025
1 parent 1e5b27f commit c5bcdd0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions generate_dict_markdown_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import os
import yaml


def get_table_rows():
"Get markdown table for docs."
thisdir = os.path.dirname(__file__)
Expand All @@ -16,12 +17,7 @@ def get_table_rows():
y = yaml.safe_load(f)
langname = y["name"]
for d in y["dictionaries"]:
data = [
langname,
d["for"],
d["type"],
f"`{d['url']}`"
]
data = [langname, d["for"], d["type"], f"`{d['url']}`"]
output.append("|" + "|".join(data) + "|")
output.sort()
return output
Expand Down

0 comments on commit c5bcdd0

Please sign in to comment.