mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-18 12:52:37 +00:00
Improve test.
This commit is contained in:
parent
94fe13845f
commit
81f036f2d1
@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"include_symlinks": false,
|
"include_symlinks": false,
|
||||||
"prefixes": [
|
"prefixes": [
|
||||||
"docs/docsite/"
|
"docs/docsite/",
|
||||||
|
"plugins/",
|
||||||
|
"roles/"
|
||||||
],
|
],
|
||||||
"output": "path-line-column-message",
|
"output": "path-line-column-message",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
|
|||||||
@ -13,8 +13,6 @@ import subprocess
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
"""Main entry point."""
|
"""Main entry point."""
|
||||||
if not os.path.isdir(os.path.join('docs', 'docsite')):
|
|
||||||
return
|
|
||||||
p = subprocess.run(['antsibull-docs', 'lint-collection-docs', '--plugin-docs', '--disallow-semantic-markup', '--skip-rstcheck', '.'], check=False)
|
p = subprocess.run(['antsibull-docs', 'lint-collection-docs', '--plugin-docs', '--disallow-semantic-markup', '--skip-rstcheck', '.'], check=False)
|
||||||
if p.returncode not in (0, 3):
|
if p.returncode not in (0, 3):
|
||||||
print('{0}:0:0: unexpected return code {1}'.format(sys.argv[0], p.returncode))
|
print('{0}:0:0: unexpected return code {1}'.format(sys.argv[0], p.returncode))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user