From 92e214808158fd08562c405e1abb77af2a71118e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 18 Feb 2026 16:34:09 +0000 Subject: [PATCH] style: auto-fix ruff warnings [skip ci] --- scripts/reinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/reinstall.py b/scripts/reinstall.py index 2caa0f8..6be0dcb 100755 --- a/scripts/reinstall.py +++ b/scripts/reinstall.py @@ -25,7 +25,7 @@ def get_version() -> str: def get_base_version(version: str) -> str: """Strip any +hash suffix from version.""" - return version.split("+")[0] + return version.split("+", maxsplit=1)[0] def get_git_hash() -> str: