mirror of
https://github.com/djrobstep/migra.git
synced 2024-10-26 15:14:51 +03:00
28 lines
355 B
Makefile
28 lines
355 B
Makefile
.PHONY: docs
|
|
|
|
# test commands and arguments
|
|
tcommand = py.test -x
|
|
tmessy = -svv
|
|
targs = --cov-report term-missing --cov migra
|
|
|
|
test:
|
|
$(tcommand) $(tmessy) $(targs) tests
|
|
|
|
stest:
|
|
$(tcommand) $(tmessy) $(targs) tests
|
|
|
|
gitclean:
|
|
git clean -fXd
|
|
|
|
clean:
|
|
find . -name \*.pyc -delete
|
|
rm -rf .cache
|
|
rm -rf build
|
|
|
|
fmt:
|
|
isort -rc .
|
|
black .
|
|
|
|
lint:
|
|
flake8 .
|