Statistical genetics toolkit
From a Python virtual environment run:
pip install -r requirements.txt -r requirements-dev.txt pytestTo check code coverage and get a coverage report, run
pytest --cov=sgkitUse pre-commit to check or enforce the coding standards. Install the git hook using:
pre-commit installTo manually enforce (or check) the source code adheres to our coding standards:
pre-commit run --all-filesTo run specific tool (black/flake8/isort/mypy etc):
pre-commit run black --all-filesNotes:
- if you skip
--all-fileschecks are incremental