1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
all: install
install:
python setup.py install
test:
black .
python -m flake8 vega_datasets
python -m mypy vega_datasets
rm -r build
python setup.py build &&\
cd build/lib &&\
python -m pytest --pyargs --doctest-modules vega_datasets
test-coverage:
python setup.py build &&\
cd build/lib &&\
python -m pytest --pyargs --doctest-modules --cov=vega_datasets --cov-report term vega_datasets
test-coverage-html:
python setup.py build &&\
cd build/lib &&\
python -m pytest --pyargs --doctest-modules --cov=vega_datasets --cov-report html vega_datasets
|