Merge "Fix incorrect tox.ini config"

This commit is contained in:
Jenkins 2015-10-02 17:48:00 +00:00 committed by Gerrit Code Review
commit bb58f0d600
1 changed files with 4 additions and 3 deletions

View File

@ -21,6 +21,7 @@ commands = {posargs}
# Run hacking/flake8 check for all python files # Run hacking/flake8 check for all python files
[testenv:pep8] [testenv:pep8]
deps = flake8 deps = flake8
whitelist_externals = bash
commands = commands =
bash -c "grep -Irl \ bash -c "grep -Irl \
-e '!/usr/bin/env python' \ -e '!/usr/bin/env python' \
@ -28,7 +29,7 @@ deps = flake8
-e '!/usr/bin/python' \ -e '!/usr/bin/python' \
--exclude-dir '.*' \ --exclude-dir '.*' \
--exclude-dir '*.egg' \ --exclude-dir '*.egg' \
--exclude-fir '*.egg-info' \ --exclude-dir '*.egg-info' \
--exclude 'tox.ini' \ --exclude 'tox.ini' \
--exclude '*.sh' \ --exclude '*.sh' \
{toxinidir} | xargs flake8 --verbose" {toxinidir} | xargs flake8 --verbose"
@ -52,6 +53,6 @@ commands =
-e '!/bin/sh' \ -e '!/bin/sh' \
--exclude-dir '.*' \ --exclude-dir '.*' \
--exclude-dir '*.egg' \ --exclude-dir '*.egg' \
--exclude-fir '*.egg-info' \ --exclude-dir '*.egg-info' \
--exclude 'tox.ini' \ --exclude 'tox.ini' \
{toxinidir} | xargs bashate --verbose --ignore=E003" {toxinidir} | xargs bashate --verbose --ignore=E003"