Debian Codegraph @

ansible_collections/community/zabbix/tox.ini

raw
1 [tox]
2 minversion = 1.4.2
3 envlist = linters
4 skipsdist = True
5
6 [testenv]
7 #deps = -r{toxinidir}/requirements.txt
8 # -r{toxinidir}/test-requirements.txt
9
10 [testenv:venv]
11 # This env is used to push new release on Galaxy
12 install_command = pip install {opts} {packages}
13 deps = ansible
14 commands = {posargs}
15
16 [testenv:linters-py2]
17 install_command = pip install {opts} {packages}
18 deps =
19 flake8
20 commands =
21 flake8 plugins {posargs}
22
23 [testenv:linters-py3]
24 install_command = pip install {opts} {packages}
25 deps =
26 flake8
27 antsibull-changelog
28 commands =
29 flake8 plugins {posargs}
30 antsibull-changelog lint
31
32 [flake8]
33 per-file-ignores =
34 plugins/module_utils/version.py: F401
35
36 show-source = True
37 ignore = E123,E125,E402,E501,E741,W503
38 max-line-length = 160
39 builtins = _
40 exclude = .git,.tox,tests/unit/compat/