Thank you for considering a contribution to RTN! This document provides guidelines and instructions for contributing to this project. By contributing, you agree to abide by our community norms and conduct.
- Fork and Clone the Repository: Start by forking the project repository, then clone your fork and enter the project directory:
git clone https://github.com/dreulavelle/rank-torrent-name.git
cd rank-torrent-name
-
Install Poetry: RTN uses Poetry for dependency management. Ensure you have Poetry installed by following the official instructions.
-
Install Dependencies: Install the project dependencies with Poetry:
poetry install --with dev
- Create a new branch for your changes:
git switch -c <branch-name>
- Make your changes, ensuring you adhere to the project's coding standards and practices.
Before submitting your changes, run the tests and ensure your code passes all lint checks:
- Run Tests:
make test
- Check Code Style:
make lint
- Check Coverage
make coverage
RTN uses pyperf
for performance benchmarking. If your changes could impact performance, please run the benchmarks:
make benchmark
Include the benchmark results in your pull request if relevant.
- We try to follow Conventional Commits specs.
- Commit your changes with a clear and descriptive commit message.
- Push your changes to your fork:
git push origin <branch-name>
- Go to the GitHub page of the original RTN repository.
- Click on the "Pull requests" tab and then the "New pull request" button.
- Choose your fork and branch with the changes, then click "Create pull request".
- Provide a clear and detailed description of the changes and the reasons behind them.
We strive to maintain a welcoming and inclusive community. All contributors are expected to adhere to our Code of Conduct (link to your code of conduct here).
If you have any questions or need help with your setup, feel free to open an issue for discussion or assistance.
Thank you for contributing to RTN! Your efforts help make this project better for everyone.