Adding Netbox
This commit is contained in:
25
roles/ansible-network.cisco_ios/tox.ini
Normal file
25
roles/ansible-network.cisco_ios/tox.ini
Normal file
@@ -0,0 +1,25 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user