Thank you for your interest in contributing to gate_learner! We welcome contributions from everyone.
Ensure you have Python 3.12+ and uv installed.
-
Clone the repository:
git clone https://github.com/ios-community/gate-learner.git cd gate-learner -
Set up the virtual environment and install dependencies:
uv sync --all-extras
-
Run the test suite to verify your setup:
uv run pytest
We enforce strict code quality standards using ruff. Before submitting a pull request, please ensure your code is formatted and free of lint errors:
# Run linter checks
uv run ruff check .
# Format code
uv run ruff format .All public APIs must be fully documented using the Google Style Python Docstrings format. Code examples in docstrings should be written as runnable doctests and will be validated during testing.
- Fork the repository and create your branch from
main. - Ensure all tests, doctests, and linter checks pass.
- Commit your changes with clear, descriptive commit messages.
- Submit a pull request to the
mainbranch.