- Clone the repository
- Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install in development mode with all dependencies:
pip install -e ".[dev]"
Code must be formatted with Black:
black src/ tests/Code is checked with Ruff:
ruff check src/ tests/
ruff check --fix src/ tests/ # Auto-fixRun mypy for type checking:
mypy src/Write tests in tests/ directory. Run with pytest:
pytest
pytest --cov # With coverage
pytest -v # VerboseRun the full test suite:
black src/ tests/
ruff check --fix src/ tests/
mypy src/
pytestOr use a pre-commit hook to automate this. The GitHub Actions workflow will also check these.
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes and write tests
- Ensure all checks pass locally
- Create a pull request with a clear description