Contributing to TelcoRetentionAI
Thank you for your interest in contributing to TelcoRetentionAI! We welcome contributions of all kinds, including bug reports, feature requests, code improvements, and documentation updates.
πΉ Contribution Requirements
- Follow the PEP 8 Python coding standard.
- Run
pre-commit
hooks before submitting any pull request. - Include appropriate unit tests for new functionality.
- Ensure that all CI checks pass before requesting a merge.
- Write clear and concise commit messages.
- Keep documentation up to date with any code changes.
πΉ How to Contribute?
1οΈβ£ Fork the Repository
Click the "Fork" button on GitHub to create your own copy of the repository.
2οΈβ£ Clone Your Fork Locally
git clone https://github.com/tralencar/telco_retention_ai.git
cd telco_retention_ai
3οΈβ£ Create a Branch for Your Feature or Fix
git checkout -b feature-your-feature-name
4οΈβ£ Install Dependencies Using Poetry
poetry install
poetry shell
5οΈβ£ Run Code Quality Checks
Before committing, make sure your code passes the pre-commit hooks:
pre-commit run --all-files
6οΈβ£ Commit Your Changes
git add .
git commit -m "Add: description of your feature or fix"
git push origin feature-your-feature-name
7οΈβ£ Open a Pull Request
Go to your fork on GitHub and click the "Compare & pull request" button. Fill out the template and submit your PR.
πΉ Helpful Commands
Check code quality:
make quality
Serve documentation locally:
make doc