Skip to content

Commit e22166b

Browse files
committed
chore: auto stage uv.lock after uv lock in bump hook
1 parent 75e8cac commit e22166b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ search = 'version = "{current_version}"'
5959
replace = 'version = "{new_version}"'
6060

6161
[tool.bumpversion.hooks.pre_commit]
62-
command = "uv lock"
62+
command = "uv lock && git add uv.lock"
6363

6464
[tool.coverage.report]
6565
exclude_lines = [

0 commit comments

Comments
 (0)