CI: Update static checks to black 23.3.0

And apply it to the codebase, removing empty lines at the start of blocks.
This commit is contained in:
Rémi Verschelde
2023-06-19 23:33:02 +02:00
parent 764193629f
commit c9c941e339
14 changed files with 4 additions and 38 deletions

View File

@@ -14,7 +14,6 @@ from platform_methods import subprocess_main
def make_doc_header(target, source, env):
dst = target[0]
g = open(dst, "w", encoding="utf-8")
buf = ""
@@ -51,7 +50,6 @@ def make_doc_header(target, source, env):
def make_fonts_header(target, source, env):
dst = target[0]
g = open(dst, "w", encoding="utf-8")
@@ -80,7 +78,6 @@ def make_fonts_header(target, source, env):
def make_translations_header(target, source, env, category):
dst = target[0]
g = open(dst, "w", encoding="utf-8")