mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Shut up, ruff
This commit is contained in:
parent
8d6cc71939
commit
3fb8a352e1
2 changed files with 8 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue