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

@ -0,0 +1 @@
#!/usr/bin/env python3

View File

@ -1,7 +1,9 @@
#!/usr/bin/env python3
import argparse
import json
import os
import re
import json
import subprocess
from glob import glob
@ -226,7 +228,8 @@ def _convert_v1_manifest_to_v2(app_path):
def _dump_v2_manifest_as_toml(manifest):
import re
from tomlkit import document, nl, table, dumps, comment
from tomlkit import comment, document, dumps, nl, table
toml_manifest = document()
toml_manifest.add("packaging_format", 2)

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import copy