26 lines
488 B
INI
26 lines
488 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = linters
|
|
|
|
[testenv]
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:linters]
|
|
basepython = python3
|
|
commands =
|
|
yamllint -s .
|
|
flake8 {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
# TODO(pabelanger): Follow sane flake8 rules for galaxy and sync across all of
|
|
# ansible-network.
|
|
ignore = E125,E402,F401
|
|
max-line-length = 160
|
|
show-source = True
|
|
exclude = .tox,dist,build,*.egg
|