summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/vmware/tox.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
commit975f66f2eebe9dadba04f275774d4ab83f74cf25 (patch)
tree89bd26a93aaae6a25749145b7e4bca4a1e75b2be /ansible_collections/community/vmware/tox.ini
parentInitial commit. (diff)
downloadansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.tar.xz
ansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.zip
Adding upstream version 7.7.0+dfsg.upstream/7.7.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/vmware/tox.ini')
-rw-r--r--ansible_collections/community/vmware/tox.ini45
1 files changed, 45 insertions, 0 deletions
diff --git a/ansible_collections/community/vmware/tox.ini b/ansible_collections/community/vmware/tox.ini
new file mode 100644
index 000000000..2dff770b6
--- /dev/null
+++ b/ansible_collections/community/vmware/tox.ini
@@ -0,0 +1,45 @@
+[tox]
+minversion = 1.4.2
+envlist = linters
+skipsdist = True
+
+[testenv]
+install_command = pip install {opts} {packages}
+
+[testenv:linters]
+deps =
+ flake8
+ antsibull-changelog
+ yamllint
+commands =
+ flake8 plugins {posargs}
+ antsibull-changelog lint
+ {toxinidir}/tools/check-ignores-order
+ yamllint -c .yamllint.yaml tests
+
+[testenv:add_docs]
+deps = git+https://github.com/ansible-network/collection_prep
+commands = collection_prep_add_docs -p .
+
+[testenv:antsibull-changelog]
+setenv =
+ LC_ALL=en_US.UTF-8
+deps =
+ ansible-core
+ antsibull-changelog
+commands =
+ antsibull-changelog {posargs}
+
+[testenv:venv]
+# This env is used to push new release on Galaxy
+deps = ansible-core
+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/