Merge "Always check all files with syntax check"
This commit is contained in:
commit
64246a22d4
5
tox.ini
5
tox.ini
@ -27,7 +27,10 @@ commands =
|
||||
|
||||
[testenv:checksyntax]
|
||||
commands =
|
||||
openstack-doc-test --check-syntax {posargs}
|
||||
# WADLs using entity files are not properly handled by
|
||||
# openstack-doc-test, we therefore have to check all files that
|
||||
# are in the tree for any syntax issues.
|
||||
openstack-doc-test --check-syntax --force {posargs}
|
||||
# Check that .po and .pot files are valid:
|
||||
bash -c "find api* -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user