Tools: Apply pre-commit autoformatting

This commit is contained in:
Chris Hennes
2023-04-22 12:53:49 -05:00
parent 74561536af
commit 4a7e1b6d9b
105 changed files with 6814 additions and 5407 deletions

View File

@@ -3,9 +3,10 @@
print("Fetching download statistics from github...")
import requests
r=requests.get('https://api.github.com/repos/FreeCAD/FreeCAD/releases')
r = requests.get("https://api.github.com/repos/FreeCAD/FreeCAD/releases")
myobj = r.json()
for p in myobj:
if "assets" in p:
for asset in p['assets']:
print((asset['name'] + ": " + str(asset['download_count']) + " downloads"))
for asset in p["assets"]:
print((asset["name"] + ": " + str(asset["download_count"]) + " downloads"))