First of all, thank you for taking the time to contribute! 🎉
When contributing to commitizen, please first create an issue to discuss the change you wish to make before making a change.
If you're a first-time contributor, you can check the issues with good first issue tag.
- Fork the repository.
- Clone the repository from your GitHub.
- Setup development environment through poetry (
poetry install
). - Setup pre-commit hook (
pre-commit install -t pre-commit -t pre-push -t commit-msg
) - Check out a new branch and add your modification.
- Add test cases for all your changes. (We use CodeCov to ensure our test coverage does not drop.)
- Use commitizen to do git commit. We follow conventional commmits
- Run
./scripts/format
and./scripts/test
to ensure you follow the coding style and the tests pass. - Update
README.md
. Do not update theCHANGELOG.md
, it will be automatically created after merging tomaster
. - Send a pull request 🙏