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
Description
uv.lockmight not exists when the project is just initializedSteps to reproduce
Current behavior
Desired behavior
It should skip if
uv.lockis 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