Adding files to pep8 tests
Change-Id: I96bfed7541aa96e243950b3bcc896e9fe17471ba
This commit is contained in:
parent
3a595e77bb
commit
b3554a226c
@ -20,7 +20,7 @@ def execute(cmd, workdir=None, can_fail=False, mask_list=None,
|
|||||||
mask_list = mask_list or []
|
mask_list = mask_list or []
|
||||||
repl_list = [("'", "'\\''")]
|
repl_list = [("'", "'\\''")]
|
||||||
|
|
||||||
if type(cmd) is not types.StringType:
|
if not isinstance(cmd, types.StringType):
|
||||||
import pipes
|
import pipes
|
||||||
masked = ' '.join((pipes.quote(i) for i in cmd))
|
masked = ' '.join((pipes.quote(i) for i in cmd))
|
||||||
else:
|
else:
|
||||||
|
4
tox.ini
4
tox.ini
@ -18,7 +18,9 @@ downloadcache = ~/cache/pip
|
|||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
deps=pep8==1.2
|
deps=pep8==1.2
|
||||||
commands = pep8 --exclude=*.pyc --repeat --show-source \
|
commands = pep8 --exclude=*.pyc --repeat --show-source \
|
||||||
packstack/modules tests setup.py
|
packstack/modules tests setup.py packstack/installer/utils \
|
||||||
|
packstack/installer/processors.py
|
||||||
|
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
setenv = NOSE_WITH_COVERAGE=1
|
setenv = NOSE_WITH_COVERAGE=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user