-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
72 lines (61 loc) · 1.14 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
[tox]
envlist =
base
ed25519
random
coverage
bandit
radon
# mypy # MyPy broken since 0.9
flake8
flake8_tests
# doc
# pylint # Doesn't work
[gh-actions]
python =
3.7: base, ed25519, random, coverage, bandit, radon, mypy, flake8, flake8_tests
[testenv]
basepython = python3.7
deps =
pycryptodome
rx: rx
ed25519: ed25519
ed25519: ed25519sha3
commands = python setup.py test
[testenv:bandit]
deps = bandit
commands = python setup.py bandit
[testenv:coverage]
deps =
pycryptodome
coverage
nose2
commands = python setup.py coverage
[testenv:doc]
deps =
sphinx_rtd_theme
sphinx_autodoc_typehints
commands = python setup.py doc
[testenv:flake8]
deps = flake8
commands = python setup.py flake8
[testenv:flake8_tests]
deps = flake8
commands = python setup.py flake8_tests
[testenv:mypy]
deps = mypy
commands = python setup.py mypy
[testenv:pylint]
deps = pylint
commands = python setup.py pylint
[testenv:radon]
deps = radon
commands =
python setup.py radon_cc
python setup.py radon_mi
[testenv:random]
deps =
rstr
ed25519
ed25519sha3
commands = python setup.py random