python: run isort, add shebangs on all files

This commit is contained in:
Félix Piédallu
2024-02-07 14:49:55 +01:00
parent 5096b888ee
commit cea7ad2277
16 changed files with 64 additions and 38 deletions

View File

@ -1,9 +1,11 @@
#!/usr/bin/python3
import json
import sys
import requests
import os
import subprocess
import sys
import requests
catalog = requests.get("https://raw.githubusercontent.com/YunoHost/apps/master/apps.json").json()

View File

@ -1,7 +1,8 @@
#!/usr/bin/python3
import json
import csv
import json
def find_cpe(app_id):
with open("../../patches/add-cpe/cpe.csv", newline='') as f: