otc-metadata/tox.ini
2025-02-25 11:16:50 +00:00

26 lines
516 B
INI

[tox]
minversion = 3.2.0
envlist = py3,pep8
ignore_basepython_conflict = true
[testenv]
basepython = python3
usedevelop = True
setenv =
PYTHONWARNINGS=default::DeprecationWarning
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
[testenv:pep8]
commands = flake8 {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,W503, E501
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build