Run flake8 from venv as well

This commit is contained in:
james.page@ubuntu.com 2015-01-23 09:01:50 +00:00
parent d8063ca8f8
commit 63bb3238df
2 changed files with 5 additions and 3 deletions

View File

@ -15,8 +15,8 @@ clean:
virtualenv .venv --system-site-packages
.venv/bin/pip install -I -r test-requirements.txt
lint:
@flake8 --exclude hooks/charmhelpers hooks unit_tests
lint: .venv
@.venv/bin/flake8 --exclude hooks/charmhelpers hooks unit_tests
@charm proof
bin/charm_helpers_sync.py:
@ -31,7 +31,7 @@ publish: lint
bzr push lp:charms/rabbitmq-server
bzr push lp:charms/trusty/rabbitmq-server
unit_test: clean .venv
unit_test: .venv
@echo Starting tests...
env CHARM_DIR=$(CHARM_DIR) $(TEST_PREFIX) .venv/bin/nosetests unit_tests/

View File

@ -1,3 +1,5 @@
nose
testtools
mock
coverage
flake8