use flake8 inside tower env

This commit is contained in:
Chris Meyers 2016-09-12 14:06:20 -04:00
parent 0dfe3b197a
commit c91b10e62d

View File

@ -425,6 +425,9 @@ pep8: reports
@(set -o pipefail && $@ | tee reports/$@.report)
flake8: reports
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/tower/bin/activate; \
fi; \
@$@ --output-file=reports/$@.report
pyflakes: reports