-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
41 lines (36 loc) · 690 Bytes
/
tox.ini
File metadata and controls
41 lines (36 loc) · 690 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
[tox]
envlist = py{39,310,311,312,313,314},pypy{310,311},code
skip_missing_interpreters = true
[testenv]
deps =
pytest==8.*
hypothesis==6.*
pytest-randomly==3.*
commands =
pytest {posargs}
[testenv:py312]
deps =
{[testenv]deps}
pytest-cov==5.*
commands =
pytest {posargs:--cov}
[testenv:code]
skip_install = true
deps =
black
bandit==1.*
commands =
black --check --diff handpick tests
bandit --configfile=pyproject.toml --recursive handpick tests
[testenv:coverage]
skip_install = true
deps =
coverage==7.*
commands =
coverage {posargs:html}
[testenv:mutmut]
deps =
{[testenv]deps}
mutmut
commands =
mutmut {posargs:run}