mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
Show diff for black check SUMMARY Show diff for black check This will make it easier to see from the CI logs what the actual problem is. ISSUE TYPE COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: None <None> Reviewed-by: Abhijeet Kasurde <None> Reviewed-by: Alina Buzachis <None> Reviewed-by: None <None>
57 lines
1.1 KiB
INI
57 lines
1.1 KiB
INI
[tox]
|
|
minversion = 1.4.2
|
|
skipsdist = True
|
|
|
|
[testenv:molecule]
|
|
install_command = pip install {opts} {packages}
|
|
|
|
deps = ansible
|
|
kubernetes
|
|
molecule<3.3.0
|
|
yamllint
|
|
flake8
|
|
|
|
passenv =
|
|
HOME
|
|
|
|
commands=
|
|
{posargs}
|
|
|
|
[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 --docker -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==19.10b0
|
|
|
|
commands =
|
|
black -v --check --diff {toxinidir}/plugins {toxinidir}/tests
|
|
|
|
[testenv:linters]
|
|
deps =
|
|
yamllint
|
|
flake8
|
|
black==19.10b0
|
|
|
|
commands =
|
|
black -v --check --diff {toxinidir}/plugins {toxinidir}/tests
|
|
yamllint -s {toxinidir}
|
|
flake8 {toxinidir}
|
|
|
|
[flake8]
|
|
exclude = .git,.tox,tests/output
|