use pre-commit to force trailing ending line & remove trailing whitespaces at end of lines
This commit is contained in:
parent
55b9aeca11
commit
cca961f6c2
126 changed files with 135 additions and 139 deletions
2
.github/scripts/bump-versions.py
vendored
2
.github/scripts/bump-versions.py
vendored
|
@ -42,7 +42,7 @@ def bump_version(file: Path):
|
|||
print(f"\n{file}: ", end="")
|
||||
text = VERSION_REGEX.sub(replace_version, f.read())
|
||||
# Move the cursor to the start again, to prevent writing at the end
|
||||
f.seek(0)
|
||||
f.seek(0)
|
||||
f.write(text)
|
||||
|
||||
def bump_lib_multisrc(theme: str):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue