style: Format code with consistent indentation and line breaks

This commit is contained in:
Paul Gauthier (aider) 2024-08-22 10:17:18 -07:00
parent e81f83ffc5
commit eff169cb5d

View file

@ -19,7 +19,12 @@ def process_markdown(filename, fh):
print(f"@@@ File '{filename}' not found.", "@" * 20, file=fh, flush=True)
return
except UnicodeDecodeError:
print(f"@@@ File '{filename}' has an encoding issue. Make sure it's UTF-8 encoded.", "@" * 20, file=fh, flush=True)
print(
f"@@@ File '{filename}' has an encoding issue. Make sure it's UTF-8 encoded.",
"@" * 20,
file=fh,
flush=True,
)
return
# Split the content into sections based on '####' headers