Debian Codegraph @

ansible_collections/community/vmware/tox.ini

raw
1 [tox]
2 minversion = 1.4.2
3 envlist = linters
4 skipsdist = True
5
6 [testenv]
7 install_command = pip install {opts} {packages}
8
9 [testenv:linters]
10 deps =
11 flake8
12 antsibull-changelog
13 yamllint
14 commands =
15 flake8 plugins {posargs}
16 antsibull-changelog lint
17 {toxinidir}/tools/check-ignores-order
18 yamllint -c .yamllint.yaml tests
19 allowlist_externals =
20 {toxinidir}/tools/check-ignores-order
21
22 [testenv:add_docs]
23 deps = git+https://github.com/ansible-network/collection_prep
24 commands = collection_prep_add_docs -p .
25
26 [testenv:antsibull-changelog]
27 setenv =
28 LC_ALL=en_US.UTF-8
29 commands_pre =
30 ansible-galaxy collection install vmware.vmware
31 deps =
32 ansible-core
33 antsibull-changelog
34 commands =
35 antsibull-changelog {posargs}
36
37 [testenv:venv]
38 # This env is used to push new release on Galaxy
39 deps = ansible-core
40 commands = {posargs}
41
42 [flake8]
43 # E123, E125 skipped as they are invalid PEP-8.
44
45 show-source = True
46 ignore = E123,E125,E402,E501,E741,W503
47 max-line-length = 160
48 builtins = _
49 exclude = .git,.tox,tests/unit/compat/