🎨 Format Python code with Black
This commit is contained in:
parent
29786f8796
commit
06a0563685
1 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ async def regen_readme(repository, branch):
|
||||||
"Authorization": f"Bearer {token}",
|
"Authorization": f"Bearer {token}",
|
||||||
"X-GitHub-Api-Version": "2022-11-28",
|
"X-GitHub-Api-Version": "2022-11-28",
|
||||||
"Accept": "application/vnd.github+json",
|
"Accept": "application/vnd.github+json",
|
||||||
}
|
},
|
||||||
).json()
|
).json()
|
||||||
|
|
||||||
branches = {x["name"] for x in branches}
|
branches = {x["name"] for x in branches}
|
||||||
|
@ -107,7 +107,7 @@ async def regen_readme(repository, branch):
|
||||||
print(f"Updated https://github.com/{repository}")
|
print(f"Updated https://github.com/{repository}")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == "__main__":
|
||||||
apps = json.load(open("../../builds/default/v3/apps.json"))["apps"]
|
apps = json.load(open("../../builds/default/v3/apps.json"))["apps"]
|
||||||
|
|
||||||
for app, infos in apps.items():
|
for app, infos in apps.items():
|
||||||
|
@ -120,4 +120,4 @@ if __name__ == '__main__':
|
||||||
infos["git"]["url"].replace("https://github.com/", ""),
|
infos["git"]["url"].replace("https://github.com/", ""),
|
||||||
infos["git"]["branch"],
|
infos["git"]["branch"],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue