Files
kubernetes.core/tox.ini
Bikouo Aubin c4c12ca2c3 Fix linters job failing following flake8 release # https://github.com/PyCQA/flake8/pull/1648 (#498)
[Fix linters] flake8 validation is failing

Merge and releasing of the following PR PyCQA/flake8#1648
ISSUE TYPE


Bugfix Pull Request

Reviewed-by: Mike Graves <mgraves@redhat.com>
2022-08-03 15:52:04 +00:00

39 lines
846 B
INI

[tox]
minversion = 1.4.2
skipsdist = True
[testenv:integration]
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
https://github.com/ansible/ansible/archive/devel.tar.gz
passenv =
HOME
commands=
ansible-test integration -v --color --retry-on-error --diff --coverage --continue-on-error --python {posargs}
[testenv:add_docs]
deps = git+https://github.com/ansible-network/collection_prep
commands = collection_prep_add_docs -p .
[testenv:black]
deps =
black >= 22.0, < 23.0
commands =
black -v --check --diff {toxinidir}/plugins {toxinidir}/tests
[testenv:linters]
deps =
yamllint
flake8
{[testenv:black]deps}
commands =
black -v --check --diff {toxinidir}/plugins {toxinidir}/tests
yamllint -s {toxinidir}
flake8 {toxinidir}