2016-07-25 07:38:42 +03:00
|
|
|
.PHONY: docs
|
|
|
|
|
|
|
|
# test commands and arguments
|
2018-10-29 00:09:55 +03:00
|
|
|
tcommand = py.test -x
|
2016-07-25 07:38:42 +03:00
|
|
|
tmessy = -svv
|
|
|
|
targs = --cov-report term-missing --cov migra
|
|
|
|
|
|
|
|
test:
|
|
|
|
$(tcommand) $(targs) tests
|
|
|
|
|
|
|
|
stest:
|
|
|
|
$(tcommand) $(tmessy) $(targs) tests
|
|
|
|
|
2018-10-29 00:09:55 +03:00
|
|
|
gitclean:
|
2016-07-25 07:38:42 +03:00
|
|
|
git clean -fXd
|
2018-10-29 00:09:55 +03:00
|
|
|
|
|
|
|
clean:
|
2016-07-25 07:38:42 +03:00
|
|
|
find . -name \*.pyc -delete
|
|
|
|
rm -rf .cache
|
|
|
|
|
2018-03-19 09:59:10 +03:00
|
|
|
fmt:
|
2018-10-29 00:09:55 +03:00
|
|
|
isort -rc .
|
2018-03-19 09:59:10 +03:00
|
|
|
black .
|
|
|
|
|
2016-07-25 07:38:42 +03:00
|
|
|
lint:
|
2018-03-19 09:59:10 +03:00
|
|
|
flake8 .
|