Add pre-commit framework and hooks config, update README

This commit is contained in:
2025-11-15 08:23:20 +00:00
parent 7e989355b9
commit 2b24d252a1
6 changed files with 433 additions and 7 deletions

View File

@@ -77,7 +77,11 @@ def main():
editor_extra = []
for p in positional:
if file_arg is None and not p.startswith("+") and not p.startswith("-"):
if (
file_arg is None
and not p.startswith("+")
and not p.startswith("-")
):
file_arg = p
else:
editor_extra.append(p)