# Clone repo
git clone https://github.com/yourorg/insdc-benchmarking-scripts
cd insdc-benchmarking-scripts
# Install with dev dependencies
poetry install
# Install pre-commit hooks (optional)
pre-commit install- Create new file:
scripts/benchmark_PROTOCOL.py - Follow the pattern from
benchmark_http.py - Import utilities from
scripts/utils/ - Add tests in
tests/test_PROTOCOL.py - Update documentation
# All tests
poetry run pytest
# With coverage
poetry run pytest --cov=scripts
# Specific test file
poetry run pytest tests/test_config.py -vWe use:
- black for formatting
- ruff for linting
# Format code
poetry run black scripts/ tests/
# Lint
poetry run ruff check scripts/ tests/- Fork the repository
- Create feature branch (
git checkout -b feature/new-protocol) - Make changes
- Run tests (
poetry run pytest) - Format code (
poetry run black .) - Commit changes
- Push to fork
- Open Pull Request
Open an issue or contact the maintainers.