-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (33 loc) · 660 Bytes
/
tox.ini
File metadata and controls
37 lines (33 loc) · 660 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
31
32
33
34
35
36
37
[tox]
envlist = clean,checksafety,checkstyle,checkdocs,test,report
[testenv]
commands = pytest --cov --cov-append --cov-report=term-missing -vv runtests.py tests
sitepackages = true
deps =
pytest
pytest-cov
[testenv:checksafety]
skip_install = true
setenv =
LC_ALL=C.UTF-8
LANG=C.UTF-8
deps =
safety
bandit
commands =
safety check
bandit -r hello -x node_modules
[testenv:checkstyle]
skip_install = true
deps =
isort
prospector[with_everything]
commands =
isort --diff --recursive hello tests
prospector
[testenv:coverage]
skip_install = true
deps = coverage
commands =
coverage report
coverage html