-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
61 lines (55 loc) · 976 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[tox]
envlist =
cov-init
lint
py3{6,7}
cov-report
[pytest]
nonrecursedirs =
.git
.tox
coverage
[testenv]
usedevelop=True
setenv =
COVERAGE_FILE = .coverage.{envname}
deps =
coverage
pytest
pytest-cov
riemann-secpy256k1>=0.2.6
commands =
pytest \
-q \
--cov-config .coveragerc \
--cov-report= \
--cov \
riemann_keys
[testenv:lint]
basepython = python3.6
deps =
flake8
mypy
riemann-secpy256k1>=0.2.6
commands =
flake8 \
--ignore=W503 \
--exclude "riemann_keys/tests/ riemann_keys/examples/" \
riemann_keys
mypy riemann_keys/ --ignore-missing-imports
[testenv:cov-init]
basepython = python3.6
setenv =
COVERAGE_FILE = .coverage
deps = coverage
commands =
coverage erase
[testenv:cov-report]
basepython = python3.6
setenv =
COVERAGE_FILE = .coverage
deps = coverage
commands =
coverage combine
coverage report
coverage html