Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make uv.lock optional bump #1383

Open
Open
@Lee-W

Description

Description

uv.lock might not exists when the project is just initialized

Steps to reproduce

git init
uv init
cz init
sed -i -e 's/pep621/uv/g' pyproject.toml pyproject.toml
git add .
cz commit
cz bump

Current behavior

FileNotFoundError: [Errno 2] No such file or directory: 'uv.lock'

Desired behavior

It should skip if uv.lock is not there yet.

Screenshots

No response

Environment

Commitizen Version: 4.5.0
Python Version: 3.12.7 (main, Oct 16 2024, 07:12:08) [Clang 18.1.8 ]
Operating System: Darwin

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /