projects
/
mudpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e25d11c
)
Use yamllint --strict when called from tox
author
Jeremy Stanley
<fungi@yuggoth.org>
Mon, 31 Dec 2018 18:33:56 +0000
(18:33 +0000)
committer
Jeremy Stanley
<fungi@yuggoth.org>
Mon, 31 Dec 2018 18:33:56 +0000
(18:33 +0000)
To treat YAML formatting inconsistency warnings from yamllint as
blocking errors for development, invoke it with --strict so that tox
will report a failure rather than success.
tox.ini
patch
|
blob
|
history
diff --git
a/tox.ini
b/tox.ini
index
9e81bde
..
7540510
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-44,7
+44,7
@@
commands = flake8 {posargs}
commands = mudpy_selftest etc/mudpy.yaml
[testenv:yamllint]
-commands = yamllint {posargs} .
+commands = yamllint
--strict
{posargs} .
[flake8]
show-source = True