-
Notifications
You must be signed in to change notification settings - Fork 8
/
tox.ini
50 lines (45 loc) · 993 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
[tox]
env_list = py310,py311,py312
min_version = 4.6.3
[testenv]
description = run the tests
package = wheel
wheel_build_env = .pkg
deps =
pytest>=7
commands =
pytest {tty:--color=yes} {posargs}
[testenv:format]
description = run the black formatter
deps = black>=23
skip_install = true
commands = black {posargs} ./src/qbindiff/
[testenv:coverage]
description = get the code coverage of the tests
package = wheel
wheel_build_env = .pkg
deps =
pytest>=7
pytest-cov>=4.1
commands =
pytest {tty:--color=yes} --cov=qbindiff --cov-report=html {posargs}
[testenv:doc]
description = build documentation
package = wheel
wheel_build_env = .pkg
extras = doc
change_dir = doc
allowlist_externals = make
commands =
- make clean
- make {posargs:html}
[testenv:typecheck]
description = check static typing soundness with mypy
package = wheel
wheel_build_env = .pkg
deps =
types-tqdm
types-networkx
mypy
allowlist_external = mypy
commands = mypy {posargs} src/