mirror of
https://github.com/twitter/the-algorithm-ml.git
synced 2024-12-23 06:41:49 +01:00
1.3 KiB
1.3 KiB
🌍 Contributing.
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
👶 Getting Started!
Ready to contribute? Here's how to set up the-algorithm-ml
for local development.
- Fork the
the-algorithm-ml
repo on GitHub. - Clone your fork locally:
git clone git@github.com:your_name_here/the-algorithm-ml.git
- Navigate to the recently created directory:
cd the-algorithm-ml
- Install all required dependencies:
pip install --no-deps -r images/requirements.txt
-
Work on your local changes.
-
Test your local changes:
pytest -vv
- Install
pre-commit
as a git hook:
pre-commit install
- Create a branch for local development:
git checkout -b name-of-your-bugfix-or-feature
- Commit your changes and push your branch to GitHub:
git add .
git commit -m "Your detailed description of your changes."
git push origin name-of-your-bugfix-or-feature
- Submit a pull request through the GitHub website.
📙 Pull Request Guidelines.
Before you submit a pull request, check that it meets these guidelines:
- You must sign our CLA (Contributor License Agreement) upon opening a PR.
- The pull request should include tests, if applicable.
Thank you for helping us improve!