-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
49 lines (43 loc) · 815 Bytes
/
tox.ini
File metadata and controls
49 lines (43 loc) · 815 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
38
39
40
41
42
43
44
45
46
47
48
49
[tox]
minversion = 3.8.0
envlist = code, typing, security, testing
isolated_build = true
install_command = python3 -m pip install {opts} {packages}
[gh-actions]
python =
3.8: inspection
3.9: py39
3.10: py310
3.11: py311
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-rrequirements_dev.txt
commands =
pytest --basetemp={envtmpdir}
[testenv:code]
basepython = python3.8
deps =
flake8
pylint
commands = flake8 src tests
pylint src tests
[testenv:typing]
basepython = python3.8
deps =
mypy
commands =
mypy src
[testenv:security]
basepython = python3.8
deps =
bandit
commands =
bandit -r src
[testenv:testing]
basepython = python3.8
deps =
-rrequirements_dev.txt
commands =
pytest --basetemp={envtmpdir}