Merge "Fix incorrect tox.ini config"
This commit is contained in:
commit
bb58f0d600
7
tox.ini
7
tox.ini
|
@ -21,14 +21,15 @@ commands = {posargs}
|
|||
# Run hacking/flake8 check for all python files
|
||||
[testenv:pep8]
|
||||
deps = flake8
|
||||
commands =
|
||||
whitelist_externals = bash
|
||||
commands =
|
||||
bash -c "grep -Irl \
|
||||
-e '!/usr/bin/env python' \
|
||||
-e '!/bin/python' \
|
||||
-e '!/usr/bin/python' \
|
||||
--exclude-dir '.*' \
|
||||
--exclude-dir '*.egg' \
|
||||
--exclude-fir '*.egg-info' \
|
||||
--exclude-dir '*.egg-info' \
|
||||
--exclude 'tox.ini' \
|
||||
--exclude '*.sh' \
|
||||
{toxinidir} | xargs flake8 --verbose"
|
||||
|
@ -52,6 +53,6 @@ commands =
|
|||
-e '!/bin/sh' \
|
||||
--exclude-dir '.*' \
|
||||
--exclude-dir '*.egg' \
|
||||
--exclude-fir '*.egg-info' \
|
||||
--exclude-dir '*.egg-info' \
|
||||
--exclude 'tox.ini' \
|
||||
{toxinidir} | xargs bashate --verbose --ignore=E003"
|
||||
|
|
Loading…
Reference in New Issue