Spaces:
Running
Running
File size: 527 Bytes
5657307 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
.PHONY: quality style test
# Check that source code meets quality standards
quality:
black --check --line-length 119 --target-version py36 tests src metrics comparisons measurements
isort --check-only tests src metrics measurements
flake8 tests src metrics
# Format source code automatically
style:
black --line-length 119 --target-version py36 tests src metrics comparisons measurements
isort tests src metrics measurements
# Run tests for the library
test:
python -m pytest -n auto --dist=loadfile -s -v ./tests/
|