forked from pyload/pyload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
63 lines (51 loc) · 1.15 KB
/
tox.ini
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Tox configuration file
# Read more under https://tox.readthedocs.org/
[tox]
minversion = 2.4
envlist = py{36,37}
[travis]
unignore_outcomes = True
[testenv]
alwayscopy = True
; setenv = TARGETS = setup.py src tests
setenv = TARGETS = setup.py src
; deps = {[testenv:pytest]deps}
commands =
{[testenv:compileall]commands}
; {[testenv:pytest]commands}
extras =
all
; {[testenv:pytest]extras}
[testenv:compileall]
skip_install = True
deps =
commands = python -m compileall -f -q {env:TARGETS}
[testenv:pylint]
usedevelop = True
deps = pylint
commands = pylint --rcfile=tox.ini {env:TARGETS}
extras = all
[testenv:bandit]
skip_install = True
deps = bandit>=1.6.0
# NOTE: set bandit to -ll in future...
commands = bandit -r -lll -iii -q --ini tox.ini {env:TARGETS}
[testenv:pytest]
usedevelop = True
deps =
commands = python setup.py test
extras = test
[bandit]
excluded_paths = tests
skips = B404,B603,B607,B322
# Pylint configuration
[MESSAGES CONTROL]
confidence=HIGH,INFERENCE_FAILURE,UNDEFINED
disable = C,E0102,E0202,F,I,R,W
[REPORTS]
output-format = colorized
score = no
[BASIC]
include-naming-hint = yes
[MISCELLANEOUS]
notes = FIXME,XXX,TODO,NOTE