-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (46 loc) · 1.04 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
[tox]
envlist = py3, pep8, bandit
[testenv]
basepython =
py3: python3
pep8: python3
cover: python3
debug: python3
repl: python3
run: python3
test: python3
bandit: python3
envdir =
py3: {toxworkdir}/py3
pep8: {toxworkdir}/py3
cover: {toxworkdir}/py3
debug: {toxworkdir}/py3
repl: {toxworkdir}/py3
run: {toxworkdir}/py3
test: {toxworkdir}/py3
bandit: {toxworkdir}/py3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = bash
commands =
py3: bash tools/run_testr.sh '{posargs}'
pep8: flake8 {posargs}
debug: python3 -m testtools.run discover '{posargs}'
test: python3 -m testtools.run '{posargs}'
repl: ipython3 {posargs}
run: python3 -m pytwistcli.cli '{posargs}'
cover: bash tools/run_cover.sh '{posargs}'
bandit: bandit -r pytwistcli
[flake8]
filename= *.py
exclude =
.git,
.tox,
__pycache__,
bin,
lib,
build,
dist
show-source = true