refactor: ruff autofixes

This commit is contained in:
Mark Paronyan committed 2026-09-27 15:55:10 +03:00
1 parent 2ac637c662
commit a0450b6bce
455 files changed
+12322 -14762

No files matched your search

+2 -6
View File
@@ -10,9 +10,7 @@ from pathlib import Path
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description=(
"Read gns3server/version.py, extract __version__, and create an annotated git tag."
)
description=("Read gns3server/version.py, extract __version__, and create an annotated git tag.")
)
parser.add_argument(
"--dry-run",
@@ -51,7 +49,7 @@ def main() -> int:
return 1
try:
tag = 'v' + get_version(repo_root)
tag = "v" + get_version(repo_root)
except (OSError, ValueError) as exc:
print(f"Error: {exc}", file=sys.stderr)
return 1
@@ -81,5 +79,3 @@ def main() -> int:
if __name__ == "__main__":
raise SystemExit(main())