forked from pyload/pyload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
74 lines (60 loc) · 1.22 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
64
65
66
67
68
69
70
71
72
73
74
# Tox configuration file
# Read more under https://tox.readthedocs.org/
[tox]
minversion = 2.4
envlist = py{36,37,38,39},pypy{36,37}
[testenv]
setenv = TARGETS = ./setup.py src/pyload
; deps = {[testenv:pytest]deps}
commands =
; {[testenv:pytest]commands}
pyload --dry-run
extras =
all
; {[testenv:pytest]extras}
[testenv:compileall]
skip_install = True
deps =
commands =
python --version
python -m compileall -f -q {env:TARGETS}
[testenv:pylint]
usedevelop = True
deps = pylint
commands =
pylint --version
pylint --rcfile=tox.ini {env:TARGETS}
extras = all
[testenv:bandit]
skip_install = True
deps = bandit>=1.6.0
commands =
bandit --version
bandit -r -lll -iii -x plugins,webui {env:TARGETS}
; [testenv:pytest]
; usedevelop = True
; deps =
; commands =
; python --version
; python setup.py test
; extras = test
; [travis]
; unignore_outcomes = True
; [bandit]
; exclude = plugins,webui
# Pylint configuration
[MASTER]
ignore = plugins,webui
jobs = 0
persistent = no
[MESSAGES CONTROL]
disable = C,E1101,E1102,E1120,F,I,R,W
[REPORTS]
output-format = colorized
reports = yes
[LOGGING]
logging-format-style = new
[MISCELLANEOUS]
notes = FIX,NOTE,TODO
[BASIC]
include-naming-hint = yes