Fix tox linters for zuul
Fix bashate and yamllint to only run if files are provided Fix whitespace errors in fm-doc/fm_doc/events.yaml Relax line length requirement in yamllint Story: 2003361 Task: 24413 Change-Id: I097beeea4a2e36790ba0de7d9c4fb6dcb55c24a6 Signed-off-by: Lachlan Plant <lachlan.plant@windriver.com>
This commit is contained in:
parent
e1e60fd5d1
commit
647dd28d1c
@ -1281,7 +1281,6 @@
|
||||
Service_Affecting: False
|
||||
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# VM
|
||||
#---------------------------------------------------------------------------
|
||||
@ -2819,7 +2818,6 @@
|
||||
Degrade_Affecting_Severity: none
|
||||
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# SOFTWARE
|
||||
#---------------------------------------------------------------------------
|
||||
|
4
tox.ini
4
tox.ini
@ -21,12 +21,12 @@ commands =
|
||||
-not -name \*~ \
|
||||
-not -name \*.md \
|
||||
-name \*.sh \
|
||||
-print0 | xargs -0 bashate -v"
|
||||
-print0 | xargs --no-run-if-empty -0 bashate -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 \) \
|
||||
-o -type f -name '*.yaml' \
|
||||
-print0 | xargs -0 yamllint"
|
||||
-print0 | xargs -0 yamllint -d '\{extends: relaxed, rules: \{line-length: \{max: 120\}\}\}'"
|
||||
|
||||
####
|
||||
# Add flake8 as pep8 codestyle check.
|
||||
|
Loading…
Reference in New Issue
Block a user