Merge "Add basic XML checking"
This commit is contained in:
commit
67421902a4
9
tox.ini
9
tox.ini
|
@ -15,10 +15,13 @@ deps = -r{toxinidir}/test-requirements.txt
|
|||
[testenv:linters]
|
||||
whitelist_externals = bash
|
||||
commands =
|
||||
bash -c "find {toxinidir} \
|
||||
\( -name .tox -prune \) \
|
||||
-o -type f -name '*.yaml' \
|
||||
bash -c "find {toxinidir} \
|
||||
\( -name .tox -prune \) \
|
||||
-o -type f -name '*.yaml' \
|
||||
-print0 | xargs -0 yamllint"
|
||||
bash -c "find {toxinidir} \
|
||||
-type f -name '*.xml' \
|
||||
-print0 | xargs -0 xmllint --noout"
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
|
Loading…
Reference in New Issue