Files
openstackclient/tox.ini
Andreas Jaeger 0b9cef46ec Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

blacklist:
W504 line break after binary operator

fix:
E117 over-indented

Change-Id: I5578956c5a3d496f16e41100c5a2f5e99b42f9a7
2020-03-27 21:02:40 +01:00

29 lines
588 B
INI

[tox]
minversion = 3.1.0
envlist = py37,pep8,docs
ignore_basepython_conflict = true
[testenv]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:pep8]
deps=-r{toxinidir}/test-requirements.txt
commands =
flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
[flake8]
ignore = E123,H405,W504
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py