summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2cba27753b49e9a2a22555d434e63a6142a51415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: test coverage isort check-all check-isort check-flake8

test:
	python admin/runtests

coverage:
	python-coverage erase
	-rm -r htmlcov
	python-coverage run --branch --source="." admin/runtests
	python-coverage html --directory=htmlcov

isort:
	isort --recursive .

check-all: check-isort check-flake8

check-isort:
	isort --check-only --diff --recursive .

check-flake8:
	flake8 --format=pylint .