From 2d74dfebe144fb9fd13a1f7f78b94946cd9efd2c Mon Sep 17 00:00:00 2001 From: Matthias Dellweg Date: Tue, 28 Apr 2026 16:48:07 +0200 Subject: [PATCH] Add uv lock to bump-my-version --- .../ci/{{ cookiecutter.__project_name }}/pyproject.toml.update | 1 + pyproject.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/cookiecutter/ci/{{ cookiecutter.__project_name }}/pyproject.toml.update b/cookiecutter/ci/{{ cookiecutter.__project_name }}/pyproject.toml.update index 13a26746b..b0fea4b76 100644 --- a/cookiecutter/ci/{{ cookiecutter.__project_name }}/pyproject.toml.update +++ b/cookiecutter/ci/{{ cookiecutter.__project_name }}/pyproject.toml.update @@ -72,6 +72,7 @@ paralleltests = {{ cookiecutter.paralleltests | toml_value }} # This section is managed by the cookiecutter templates. current_version = "{{ cookiecutter.current_version }}" commit = false +pre_commit_hooks = ["uv lock", "git add uv.lock"] tag = false parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)(\\.(?P[a-z]+))?" serialize = [ diff --git a/pyproject.toml b/pyproject.toml index 0491dd4bc..5cee4af92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,6 +123,7 @@ paralleltests = true # This section is managed by the cookiecutter templates. current_version = "0.40.0.dev" commit = false +pre_commit_hooks = ["uv lock", "git add uv.lock"] tag = false parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)(\\.(?P[a-z]+))?" serialize = [