Files
ci-log-processing/tox.ini
Daniel Pawlik 3e39caf520 Add ansible role that is configuring logscraper
With this commit, logscraper tool can be started as a service
inside the container.

Change-Id: I7349929bcb314f55d648bb4db4291fd53fa83d07
2021-11-23 08:26:20 +01:00

33 lines
633 B
INI

[tox]
envlist = linters,docs,py38
[testenv]
basepython = python3
usedevelop = True
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
allowlist_externals = find
commands =
find . -type f -name "*.pyc" -delete
find . -type d -name '__pycache__' -delete
stestr run {posargs}
[testenv:pep8]
commands = flake8
[testenv:linters]
commands =
flake8
yamllint ansible/
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -E -b html doc/source doc/build/html