19 lines
463 B
Makefile
19 lines
463 B
Makefile
bootstrap:
|
|
pip install -e . --use-mirrors
|
|
pip install "file://`pwd`#egg=raven[dev]"
|
|
pip install "file://`pwd`#egg=raven[tests]"
|
|
|
|
test: bootstrap lint
|
|
@echo "Running Python tests"
|
|
python runtests.py -x
|
|
@echo ""
|
|
|
|
lint:
|
|
@echo "Linting Python files"
|
|
flake8 --exclude=migrations --ignore=E501,E225,E121,E123,E124,E125,E127,E128 raven || exit 1
|
|
@echo ""
|
|
|
|
coverage:
|
|
coverage run runtests.py --include=raven/* && \
|
|
coverage html --omit=*/migrations/* -d cover
|