We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef29b92 commit a75c668Copy full SHA for a75c668
main.py
@@ -66,6 +66,7 @@ def load_ratings():
66
"dart": ("Dart", "dart"),
67
"nim": ("Nim", "nim"),
68
"sql": ("MySQL", "sql"),
69
+ "sh": ("Shell", "bash"),
70
}
71
72
mapping = {lang: name for name, lang in code_dict.values()}
@@ -144,8 +145,8 @@ def get_paths(dirs: str, m: int):
144
145
num = num[:-3] + ".1"
146
num = ".".join([x.strip(" ").lstrip("0") for x in num.split(".")])
147
rat = -1
- if target_dir == 'lc' and num in rating_dict:
148
- rat = int(rating_dict[num]['Rating'])
+ if target_dir == "lc" and num in rating_dict:
149
+ rat = int(rating_dict[num]["Rating"])
150
print(f"Rating: {num} {rat}")
151
is_en = "README_EN" in p
152
if is_en:
0 commit comments