We're excited that you're interested in contributing to Jockey! This guide will help you get started with our development workflow and conventions.
-
Fork the Jockey repository on GitHub.
-
Clone your fork locally:
git clone https://github.com/your-username/tl-jockey.git cd tl-jockey
-
Set up a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install dependencies:
pip3 install -r requirements.txt
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Make your changes and commit them with a clear, descriptive message:
git commit -m "Add feature: brief description of changes"
- Push your changes to your fork:
git push origin feature/your-feature-name
- Open a pull request from your fork to the main Jockey repository.
- We follow PEP 8 guidelines for Python code style.
- Use 4 spaces for indentation (no tabs).
- Maximum line length is 100 characters.
- Use meaningful variable and function names.
- Write docstrings for all functions, classes, and modules.
- Include type hints where appropriate.
- Write unit tests for new features or bug fixes.
- Ensure all tests pass before submitting a pull request:
pytest tests/
- Update the README.md file if you've added new features or changed existing functionality.
- Keep inline comments concise and relevant.
- For significant changes, update or create appropriate documentation in a new
docs/
directory.
- Ensure your code adheres to the style guide and passes all tests.
- Update the README.md with details of changes to the interface, if applicable.
- Your pull request will be reviewed by maintainers. Be open to feedback and make necessary changes.
- Once approved, your pull request will be merged into the main branch.
- Be respectful and inclusive in your interactions with other contributors.
- If you find a bug or have a feature request, open an issue before making changes.
- For major changes, please open an issue first to discuss what you would like to change.
We appreciate your contributions to Jockey and look forward to your innovative ideas and improvements!