tox: Trivial formatting changes
Change-Id: I8870cf849aec9d4bd1e59d911704ec2e4cabe09e Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
626df3a5e9
commit
3f12bc6e33
36
tox.ini
36
tox.ini
@ -4,7 +4,8 @@ envlist = py3,pep8,releasenotes
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
OS_STDOUT_NOCAPTURE=False
|
||||
OS_STDERR_NOCAPTURE=False
|
||||
deps =
|
||||
@ -38,23 +39,8 @@ commands =
|
||||
coverage xml -o cover/coverage.xml
|
||||
|
||||
[testenv:debug]
|
||||
|
||||
commands = oslo_debug_helper -t keystonemiddleware/tests {posargs}
|
||||
|
||||
[flake8]
|
||||
# D100: Missing docstring in public module
|
||||
# D101: Missing docstring in public class
|
||||
# D102: Missing docstring in public method
|
||||
# D103: Missing docstring in public function
|
||||
# D104: Missing docstring in public package
|
||||
# D107: Missing docstring in __init__
|
||||
# D401: First line should be in imperative mood
|
||||
# W503 line break before binary operator
|
||||
# W504 line break after binary operator
|
||||
ignore = D100,D101,D102,D103,D104,D107,D401,W503,W504
|
||||
show-source = True
|
||||
exclude = .venv,.tox,dist,doc,*egg,build
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands=
|
||||
@ -73,8 +59,24 @@ commands =
|
||||
make -C doc/build/pdf
|
||||
|
||||
[testenv:releasenotes]
|
||||
envdir = {toxworkdir}/docs
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
commands =
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[flake8]
|
||||
# D100: Missing docstring in public module
|
||||
# D101: Missing docstring in public class
|
||||
# D102: Missing docstring in public method
|
||||
# D103: Missing docstring in public function
|
||||
# D104: Missing docstring in public package
|
||||
# D107: Missing docstring in __init__
|
||||
# D401: First line should be in imperative mood
|
||||
# W503 line break before binary operator
|
||||
# W504 line break after binary operator
|
||||
ignore = D100,D101,D102,D103,D104,D107,D401,W503,W504
|
||||
show-source = True
|
||||
exclude = .venv,.tox,dist,doc,*egg,build
|
||||
|
||||
[hacking]
|
||||
import_exceptions =
|
||||
|
Loading…
Reference in New Issue
Block a user