-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (24 loc) · 681 Bytes
/
tox.ini
File metadata and controls
30 lines (24 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# tox -epy27
[tox]
skipsdist = True
envlist = py27,pylint,flake8
[testenv]
setenv = VIRTUAL_ENV={envdir}
# Passed to 'pip install --pre', that will install the dependencies listed in those files
deps = -r{toxinidir}/requirements.txt
# Settings specific to the flake8 environment
[testenv:flake8]
commands =
flake8 floatingip_handler.py network_handler.py
deps = flake8
[testenv:pylint]
deps = pylint
pika
commands =
pylint --const-rgx='([a-zA-Z][a-zA-Z0-9_]+)$' floatingip_handler.py
pylint --const-rgx='([a-zA-Z][a-zA-Z0-9_]+)$' network_handler.py
[flake8]
ignore = H233
show-source = true
exclude = venv,.git,.tox,dist,*egg,ansible,tests
max-complexity = 12