You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
generate defaults for cz_customize pyproject.toml #535
It would be much easier to have the option to start with the defaults filled in (e.g. default questions, default message_template,etc...) and then modify from there. As it is now, I am copying values out of the ConventionalCommitsCz
Actually, thinking about it a bit more. I think that is good however, we’d still need to define all of the types, if we just wanted to add a type. So it would be good to have default config template to start from. Maybe that is what you are thinking?
@Lee-W Hi, I would like to try and open a PR making cz_conventional_commits read from config and then fallback to defaults, allowing extensibility without the need to specify all configuration for cz_customize if we just want to override small behavior. Is that ok from your side?
Activity
Lee-W commentedon Jul 22, 2022
What's in my mind was making
cz_conventional_commitsconfigurable and deprecatecz_customize? What do you think?willjhenry commentedon Jul 22, 2022
willjhenry commentedon Jul 22, 2022
Lee-W commentedon Jul 22, 2022
either way works for me. 🙂 we're kinda out of bandwidth these days. would be great if you're interested in sending a PR
amitlevy21 commentedon Aug 3, 2022
@Lee-W Hi, I would like to try and open a PR making
cz_conventional_commitsread from config and then fallback to defaults, allowing extensibility without the need to specify all configuration forcz_customizeif we just want to override small behavior. Is that ok from your side?feat(ConventionalCommitsCz): allow to override defaults from config
feat(ConventionalCommitsCz): allow to override defaults from config
feat(ConventionalCommitsCz): allow to override defaults from config
feat(ConventionalCommitsCz): allow to override defaults from config
amitlevy21 commentedon Aug 3, 2022
@Lee-W I took the initiative and opened a PR. Hope it's ok and curios to hear your thoughts
Lee-W commentedon Aug 4, 2022
Thanks @amitlevy21 . Will take a deeper look these days!
feat(ConventionalCommitsCz): allow to override defaults from config
feat(ConventionalCommitsCz): allow to override defaults from config
feat(ConventionalCommitsCz): allow to override defaults from config
feat(ConventionalCommitsCz): allow to override defaults from config
feat(ConventionalCommitsCz): allow to override defaults from config
feat(ConventionalCommitsCz): allow to override defaults from config
shantonio commentedon Jun 26, 2023
@Lee-W @amitlevy21
any updates to use cz_customize with default parser ?
Lee-W commentedon Jun 27, 2023
No update at this moment. Would appreciate it if anyone wants to take a look 🙂
Sherensberk commentedon Apr 4, 2025
Anyone has the "[tool.commitizen.customize]" for .toml that match with conventional_commit pattern? I just want to make a small change :P