Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 340a593 commit fb37618Copy full SHA for fb37618
2 files changed
.pre-commit-config.yaml
@@ -53,7 +53,7 @@ repos:
53
args:
54
- "--fix"
55
- repo: https://github.com/psf/black
56
- rev: 22.6b0
+ rev: 24.1.1
57
hooks:
58
- id: black
59
- language_version: python3.8
+ language_version: python3.10
scripts/sort_contibutors/main.py
@@ -176,6 +176,7 @@ def merge_users(l: list) -> list:
176
ranking = dict()
177
178
for a in l:
179
+
180
if a["username"] in ranking:
181
ranking[a["username"]] += a["ranking"]
182
else:
@@ -221,6 +222,7 @@ def get_contibutors_list(token: str) -> list:
221
222
token = os.getenv("USER_TOKEN")
223
224
if token is not None:
225
226
contributors = [
227
{"username": "f3rn0s", "name": "f3rn0s"},
228
{"username": "szh", "name": "Shlomo Zalman Heigh"},
0 commit comments