Skip to content

Commit e0a278f

Browse files
mdellwegdralley
authored andcommitted
Add uv lock to bump-my-version
1 parent 0d49d13 commit e0a278f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

cookiecutter/ci/{{ cookiecutter.__project_name }}/pyproject.toml.update

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ paralleltests = {{ cookiecutter.paralleltests | toml_value }}
7272
# This section is managed by the cookiecutter templates.
7373
current_version = "{{ cookiecutter.current_version }}"
7474
commit = false
75+
pre_commit_hooks = ["uv lock", "git add uv.lock"]
7576
tag = false
7677
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
7778
serialize = [

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ paralleltests = true
123123
# This section is managed by the cookiecutter templates.
124124
current_version = "0.40.0.dev"
125125
commit = false
126+
pre_commit_hooks = ["uv lock", "git add uv.lock"]
126127
tag = false
127128
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
128129
serialize = [

0 commit comments

Comments
 (0)