🎨 reformat using black

This commit is contained in:
neingeist 2025-06-08 21:17:47 +02:00
parent a1ab4c0b5a
commit 1994109507
5 changed files with 70 additions and 53 deletions

View file

@ -15,13 +15,18 @@ for filename in tqdm(os.listdir(OUTDIR_MARKDOWN)):
# Run pandoc command
try:
subprocess.run([
"pandoc",
input_path,
"-f", "markdown",
"-t", "mediawiki",
"-o", output_path
], check=True)
subprocess.run(
[
"pandoc",
input_path,
"-f",
"markdown",
"-t",
"mediawiki",
"-o",
output_path,
],
check=True,
)
except subprocess.CalledProcessError as e:
print(f"Error converting {filename}: {e}")