Files
storlets/tox.ini
Takashi Kajinami 590958e0f7 Use sphinx compatible comment format
This patch fixes the format of some comments, to make them
sphinx-compatibles ones, which are widely used in OpenStack
projects.

This patch also ports some ignore rules of pep8 about comment
formats from swift.

Change-Id: Ib86e3a34fec590d7eda7167cad4216bcfb7f9d29
2016-01-28 16:12:30 +09:00

48 lines
1.2 KiB
INI

[tox]
minversion = 1.6
envlist = py27,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps =
-r{toxinidir}/test-requirements.txt
PyECLib==1.0.7
https://launchpad.net/swift/kilo/2.3.0/+download/swift-2.3.0.tar.gz
#commands = python setup.py test --slowest --testr-args='{posargs}'
commands = ./.unittests
[testenv:pep8]
commands = flake8
[testenv:func]
commands = ./.functests
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# H301: one import per line
# H306: imports not in alphabetical order (time, os)
# H401: docstring should not start with a space
# H403: multi line docstrings should end on a new line
# H404: multi line docstring should start without a leading new line
# H405: multi line docstring summary not separated with an empty line
ignore = E123,E125,H301,H306,H401,H403,H404,H405
show-source = True
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build