From a453ac31f3428614cceb99027f8efbdb9258a40b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 May 2024 22:03:01 +0200 Subject: Adding upstream version 2.10.7+merged+base+2.10.8+dfsg. Signed-off-by: Daniel Baumann --- .../ansible_collections/cisco/ios/tox.ini | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 collections-debian-merged/ansible_collections/cisco/ios/tox.ini (limited to 'collections-debian-merged/ansible_collections/cisco/ios/tox.ini') diff --git a/collections-debian-merged/ansible_collections/cisco/ios/tox.ini b/collections-debian-merged/ansible_collections/cisco/ios/tox.ini new file mode 100644 index 00000000..40c467b8 --- /dev/null +++ b/collections-debian-merged/ansible_collections/cisco/ios/tox.ini @@ -0,0 +1,32 @@ +[tox] +minversion = 1.4.2 +envlist = linters +skipsdist = True + +[testenv] +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + +[testenv:black] +install_command = pip install {opts} {packages} +commands = + black -v -l79 {toxinidir} + +[testenv:linters] +install_command = pip install {opts} {packages} +commands = + black -v -l79 --diff --check {toxinidir} + flake8 {posargs} + yamllint -s . + +[testenv:venv] +commands = {posargs} + +[flake8] +# E123, E125 skipped as they are invalid PEP-8. + +show-source = True +ignore = E123,E125,E402,E501,E741,W503 +max-line-length = 160 +builtins = _ +exclude = .git,.tox,tests/unit/compat/ -- cgit v1.2.3