diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:04:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:04:41 +0000 |
commit | 975f66f2eebe9dadba04f275774d4ab83f74cf25 (patch) | |
tree | 89bd26a93aaae6a25749145b7e4bca4a1e75b2be /ansible_collections/community/zabbix/tox.ini | |
parent | Initial commit. (diff) | |
download | ansible-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 '')
-rw-r--r-- | ansible_collections/community/zabbix/tox.ini | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ansible_collections/community/zabbix/tox.ini b/ansible_collections/community/zabbix/tox.ini new file mode 100644 index 000000000..a5124d0e5 --- /dev/null +++ b/ansible_collections/community/zabbix/tox.ini @@ -0,0 +1,40 @@ +[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] +per-file-ignores = + plugins/module_utils/version.py: F401 + +show-source = True +ignore = E123,E125,E402,E501,E741,W503 +max-line-length = 160 +builtins = _ +exclude = .git,.tox,tests/unit/compat/ |