Fix `TypeError: Keys must be strings` by ikus060 · Pull Request #1879 · commitizen-tools/commitizen
Description
fix: avoid raising an exception when a change_type is not defined.
Checklist
- I have read the contributing guidelines
Was generative AI tooling used to co-author this PR?
- Yes (please specify the tool below)
Code Changes
- Add test cases to all the changes you introduce
- Run
uv run poe alllocally to ensure this change passes linter check and tests - Manually test the changes:
- Verify the feature/bug fix works as expected in real-world scenarios
- Test edge cases and error conditions
- Ensure backward compatibility is maintained
- Document any manual testing steps performed
- Update the documentation for the changes
Documentation Changes
- Run
uv run poe doclocally to ensure the documentation pages renders correctly - Check and fix any broken links (internal or external)