
This will allow us to have more consistent and clean code. Change-Id: I8a49053d016c52b7b44136a6a8f36f9ad12675c3
29 lines
586 B
INI
29 lines
586 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = py35,pep8
|
|
skipdist = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
sitepackages = False
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages} -c{env:CONSTRAINTS_FILE:/dev/null}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8 ara
|
|
bandit -r ara
|
|
|
|
[testenv:format]
|
|
commands =
|
|
black --diff --check ara
|
|
isort --recursive --check-only --diff --virtual-env {envdir} ara
|