Fix docs gate failed

Change-Id: I334b76ce9284a41583e06bdd05900ba2baf4dc64
This commit is contained in:
licanwei 2019-04-04 14:56:41 +08:00
parent 187b0e6a4b
commit 2df5ab926e
2 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,9 @@ commands =
basepython = python3
setenv = PYTHONHASHSEED=0
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
commands =
rm -fr doc/build doc/source/api/ .autogenerated
sphinx-build -W -b html doc/source doc/build/html
[testenv:api-ref]
basepython = python3

View File

@ -91,6 +91,7 @@ def no_translate_debug_logs(logical_line, filename):
we shouldn't translate debug level logs.
* This check assumes that 'LOG' is a logger.
N319
"""
for hint in _all_hints: