forked from tern-tools/tern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (31 loc) · 757 Bytes
/
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
[tox]
envlist = py35
py36
py37
commit
prospector
security
changes
coverage
[testenv]
description = Run tests
deps = GitPython~=2.1
[testenv:prospector]
description = Run the Prospector test
deps = prospector>=1.2
commands = prospector
[testenv:commit]
description = Run the Commit test
commands = python ci/test_commit_message.py
[testenv:security]
description = Run bandit
deps = bandit~=1.6
commands = bandit .
[testenv:tests]
description = Run unittests
commands = python -m unittest discover -s tests
[testenv:coverage]
description = Get current coverage
deps = coverage
commands = coverage run -m unittest discover -s tests
coverage report --omit .tox/**,tests/**