moving along
Stylecheck / stylecheck (push) Failing after 9s
Tests / unittest (3.12) (push) Successful in 15s
Stylecheck / stylecheck-tests (push) Successful in 21s

This commit is contained in:
truePhilipp committed 2026-10-06 15:23:27 +02:00
1 parent f61305d1b0
commit 788308cf44
1 file changed
+4
+4
View File
@@ -50,6 +50,8 @@ def convert_file(path: str, overwrite: bool = False) -> None:
if not (os.path.exists(path) and os.path.isfile(path)):
raise FileNotFoundError
print("moving the code around")
with open(path, "r") as file:
soup = bs4.BeautifulSoup(file, "html.parser")
@@ -58,6 +60,8 @@ def convert_file(path: str, overwrite: bool = False) -> None:
for formatter in formatters:
formatter.format(soup)
print("even in between")
if overwrite:
out_path = path
else: