Configuring commitizen with uv - make "cz init" work with existing pyproject.toml #1361
Labels
issue-status: wait-for-implementation
maintainers agree on the bug / feature
type: feature
A new enhacement proposal
Description
I'm evaluating commitizen as a simpler alternative to python-sematantic-release and other tools.
I've run into two issues, first the
cz init
command fails due toConfig file pyproject.toml already exists
- this is because I'm usinguv
which also has auv init
command - so once I've created my project using uv I don't appear to be able to intialise it for use with commitizen - is this the case or did I miss an something such as a cz init --force option?Second, I use pre-commit to ensure with ruff etc to lint / format my code. This doesn't appear to integrate well with
cz commit
- i.e. if I stage changes, runpre-commit
thencz commit
everything is fine. If I forget to runpre-commit
then I run the risk of losing everything I type (i.e. the commit message etc) because pre-commit may detect an issue which results incz commit
failing, losing everything I've typed.Are there work-arounds for these issues?
Possible Solution
No response
Additional context
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: