style(whole-project): fixing linting and typing errors

This commit is contained in:
Gergő Jedlicska
2022-12-20 10:45:22 +01:00
parent b25f2ab4bc
commit 990cf4eb2f
41 changed files with 505 additions and 236 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ def patch(tag):
lines = f.readlines()
if "version" not in lines[2]:
raise Exception(f"Invalid pyproject.toml. Could not patch version.")
raise Exception("Invalid pyproject.toml. Could not patch version.")
lines[2] = f'version = "{tag}"\n'
with open("pyproject.toml", "w") as file: