Skip to content

Commit f67f2ca

Browse files
committed
chore: fix pull rebase workflow bug
1 parent 6caf919 commit f67f2ca

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/scripts/version_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_current_version(manifest_path=None):
4040
)
4141
if v_tags:
4242
return sorted(v_tags, key=lambda x: x["key"], reverse=True)[0]["tag"]
43-
except subprocess.CalledProcessError, IndexError, ValueError:
43+
except (subprocess.CalledProcessError, IndexError, ValueError):
4444
pass
4545
if manifest_path and os.path.exists(manifest_path):
4646
with open(manifest_path, encoding="utf-8") as f:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.14"
77

88
[tool.ruff]
9-
target-version = "py314"
9+
target-version = "py312"
1010
line-length = 120
1111

1212
[tool.ruff.lint]

0 commit comments

Comments
 (0)