Fix incorrect tox.ini config
Change-Id: Ic9e933e58503e5557841e353b490f1d2d476d3c1
This commit is contained in:
parent
079f07b359
commit
839d336bbd
5
tox.ini
5
tox.ini
@ -21,6 +21,7 @@ commands = {posargs}
|
||||
# Run hacking/flake8 check for all python files
|
||||
[testenv:pep8]
|
||||
deps = flake8
|
||||
whitelist_externals = bash
|
||||
commands =
|
||||
bash -c "grep -Irl \
|
||||
-e '!/usr/bin/env python' \
|
||||
@ -28,7 +29,7 @@ deps = flake8
|
||||
-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
Block a user