migra/Makefile

28 lines
355 B
Makefile
Raw Normal View History

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:
2019-03-03 06:49:39 +03:00
$(tcommand) $(tmessy) $(targs) tests
2016-07-25 07:38:42 +03:00
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-11-19 11:45:13 +03:00
rm -rf build
2016-07-25 07:38:42 +03:00
fmt:
2018-10-29 00:09:55 +03:00
isort -rc .
black .
2016-07-25 07:38:42 +03:00
lint:
flake8 .