Shut up, ruff

This commit is contained in:
JRoot Junior 2026-02-10 23:39:56 +02:00
parent 8d6cc71939
commit 3fb8a352e1
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2
2 changed files with 8 additions and 9 deletions

View file

@ -45,9 +45,9 @@ def bump_version(part: str) -> str:
if __name__ == "__main__":
if len(sys.argv) != 2:
print("Usage: python scripts/bump_version.py [major|minor|patch|to:X.Y.Z]")
if len(sys.argv) != 2: # noqa: PLR2004
print("Usage: python scripts/bump_version.py [major|minor|patch|to:X.Y.Z]") # noqa: T201
sys.exit(1)
new_version = bump_version(sys.argv[1])
print(f"Bumped version to {new_version}")
print(f"Bumped version to {new_version}") # noqa: T201