1
0
Fork 0

🎨 Format Python code with Black

This commit is contained in:
tituspijean 2024-04-01 16:14:44 +00:00 committed by Bram
parent 29786f8796
commit 06a0563685

View file

@ -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"],
) )
) )