style: Apply linter formatting to versionbump.py script

This commit is contained in:
Paul Gauthier (aider) 2025-03-04 13:24:28 -08:00
parent 17c9ba2c68
commit 85375359ed

View file

@ -68,14 +68,12 @@ def main():
else:
print("Error: The main branch and origin/main have diverged.")
sys.exit(1)
# Function to check if we can push to the origin repository
def check_push_access():
print("Checking push access to origin repository...")
result = subprocess.run(
["git", "push", "--dry-run", "origin"],
capture_output=True,
text=True
["git", "push", "--dry-run", "origin"], capture_output=True, text=True
)
if result.returncode != 0:
print("Error: Cannot push to origin repository.")