mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -02:30
Merge pull request #4012 from shanemcd/activate-venv-flake8
Activate venv in flake8 target
This commit is contained in:
5
Makefile
5
Makefile
@@ -464,7 +464,10 @@ pep8: reports
|
|||||||
@(set -o pipefail && $@ | tee reports/$@.report)
|
@(set -o pipefail && $@ | tee reports/$@.report)
|
||||||
|
|
||||||
flake8: reports
|
flake8: reports
|
||||||
@(set -o pipefail && $@ | tee reports/$@.report)
|
@if [ "$(VENV_BASE)" ]; then \
|
||||||
|
. $(VENV_BASE)/tower/bin/activate; \
|
||||||
|
fi; \
|
||||||
|
(set -o pipefail && $@ | tee reports/$@.report)
|
||||||
|
|
||||||
pyflakes: reports
|
pyflakes: reports
|
||||||
@(set -o pipefail && $@ | tee reports/$@.report)
|
@(set -o pipefail && $@ | tee reports/$@.report)
|
||||||
|
|||||||
Reference in New Issue
Block a user