Makefile 369 Bytes
Newer Older
Alan Trick's avatar
Alan Trick committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
.PHONY: flake8 test coverage

flake8:
	flake8 django_adminstats tests

isort:
	isort -rc django_adminstats tests

isort_check_only:
	isort -rc -c django_adminstats tests

test:
	pytest tests/

demo:
	DJANGO_SETTINGS_MODULE=tests.demo_settings \
	PYTHONPATH="${PYTHONPATH}:." \
	django-admin runserver

coverage:
21
	pytest --cov=django_adminstats --cov-report=html tests/