update leaderboard header order
This commit is contained in:
1 file changed
+6
-4
+6
-4
@@ -162,10 +162,10 @@ def main() -> None:
|
|||||||
data = {
|
data = {
|
||||||
"Rank": [],
|
"Rank": [],
|
||||||
"Author": [],
|
"Author": [],
|
||||||
"Commits": [],
|
|
||||||
"Added": [],
|
"Added": [],
|
||||||
"Deleted": [],
|
"Deleted": [],
|
||||||
"Actual": [],
|
"Actual": [],
|
||||||
|
"Commits": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
rank = 0
|
rank = 0
|
||||||
@@ -188,10 +188,10 @@ def main() -> None:
|
|||||||
data = {
|
data = {
|
||||||
"Rank": [],
|
"Rank": [],
|
||||||
"Author": [],
|
"Author": [],
|
||||||
"Commits": [],
|
|
||||||
"Added": [],
|
"Added": [],
|
||||||
"Deleted": [],
|
"Deleted": [],
|
||||||
"Actual": [],
|
"Actual": [],
|
||||||
|
"Commits": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
rank = 0
|
rank = 0
|
||||||
@@ -214,10 +214,10 @@ def main() -> None:
|
|||||||
data = {
|
data = {
|
||||||
"Rank": [],
|
"Rank": [],
|
||||||
"Author": [],
|
"Author": [],
|
||||||
"Commits": [],
|
|
||||||
"Added": [],
|
"Added": [],
|
||||||
"Deleted": [],
|
"Deleted": [],
|
||||||
"Actual": [],
|
"Actual": [],
|
||||||
|
"Commits": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
rank = 0
|
rank = 0
|
||||||
@@ -238,9 +238,10 @@ def main() -> None:
|
|||||||
data = {
|
data = {
|
||||||
"Rank": [],
|
"Rank": [],
|
||||||
"Author": [],
|
"Author": [],
|
||||||
"Actual": [],
|
|
||||||
"Added": [],
|
"Added": [],
|
||||||
"Deleted": [],
|
"Deleted": [],
|
||||||
|
"Actual": [],
|
||||||
|
"Commits": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
rank = 0
|
rank = 0
|
||||||
@@ -251,6 +252,7 @@ def main() -> None:
|
|||||||
data["Actual"].append(str(author["contributed"]))
|
data["Actual"].append(str(author["contributed"]))
|
||||||
data["Added"].append(f"+{author['added']}")
|
data["Added"].append(f"+{author['added']}")
|
||||||
data["Deleted"].append(f"-{author['deleted']}")
|
data["Deleted"].append(f"-{author['deleted']}")
|
||||||
|
data["Commits"].append(str(author['commits']))
|
||||||
|
|
||||||
pretty_table(data, "TopContributorsAllTime")
|
pretty_table(data, "TopContributorsAllTime")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user