summaryrefslogtreecommitdiffstats
path: root/collections-debian-merged/ansible_collections/community/zabbix/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'collections-debian-merged/ansible_collections/community/zabbix/tox.ini')
-rw-r--r--collections-debian-merged/ansible_collections/community/zabbix/tox.ini39
1 files changed, 39 insertions, 0 deletions
diff --git a/collections-debian-merged/ansible_collections/community/zabbix/tox.ini b/collections-debian-merged/ansible_collections/community/zabbix/tox.ini
new file mode 100644
index 00000000..5c6c33ea
--- /dev/null
+++ b/collections-debian-merged/ansible_collections/community/zabbix/tox.ini
@@ -0,0 +1,39 @@
+[tox]
+minversion = 1.4.2
+envlist = linters
+skipsdist = True
+
+[testenv]
+#deps = -r{toxinidir}/requirements.txt
+# -r{toxinidir}/test-requirements.txt
+
+[testenv:venv]
+# This env is used to push new release on Galaxy
+install_command = pip install {opts} {packages}
+deps = ansible
+commands = {posargs}
+
+[testenv:linters-py2]
+install_command = pip install {opts} {packages}
+deps =
+ flake8
+commands =
+ flake8 plugins {posargs}
+
+[testenv:linters-py3]
+install_command = pip install {opts} {packages}
+deps =
+ flake8
+ antsibull-changelog
+commands =
+ flake8 plugins {posargs}
+ antsibull-changelog lint
+
+[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/