From 85375359ed2b677d76eb67fa8e9542dc015953cc Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 4 Mar 2025 13:24:28 -0800 Subject: [PATCH] style: Apply linter formatting to versionbump.py script --- scripts/versionbump.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/versionbump.py b/scripts/versionbump.py index 5ad8eec3b..3e22f08fa 100755 --- a/scripts/versionbump.py +++ b/scripts/versionbump.py @@ -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.")