Minor tox cleanup for linters and pep8
linters yamllint target was excluding a folder that did not exist pep8 was not invoking flake8, and was not including hacking which pulls in additional checks. Story: 2004515 Task: 28966 Change-Id: I0268f685e4292d93c5ff6014b150b25bfe9cd583 Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This commit is contained in:
parent
3e9e47392a
commit
c4c4191a91
13
tox.ini
13
tox.ini
|
@ -23,19 +23,24 @@ commands =
|
|||
-name \*.sh \
|
||||
-print0 | xargs -0 bashate -iE006 -v"
|
||||
bash -c "find {toxinidir} \
|
||||
\( -name middleware/io-monitor/recipes-common/io-monitor/io-monitor/io_monitor/test-tools/yaml/* -prune \) \
|
||||
-o \( -name .tox -prune \) \
|
||||
\( -name .tox -prune \) \
|
||||
-o -type f -name '*.yaml' \
|
||||
-print0 | xargs -0 yamllint"
|
||||
|
||||
[flake8]
|
||||
exclude=.tox
|
||||
# H102 Apache 2.0 license header not found
|
||||
ignore=H102
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
usedevelop = False
|
||||
skip_install = True
|
||||
# hacking pins the version of flake8
|
||||
deps =
|
||||
pep8
|
||||
hacking!=0.13.0,<0.14,>=0.12.0
|
||||
commands =
|
||||
pep8
|
||||
flake8
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
|
|
Loading…
Reference in New Issue