-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (34 loc) · 782 Bytes
/
tox.ini
File metadata and controls
38 lines (34 loc) · 782 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
[tox]
env_list = py310,py311,py312,py313
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: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=qbinary --cov-report=html {posargs}
[testenv:format]
description = run the black formatter
deps = black>=23
skip_install = true
commands = black {posargs} ./src/qbinary/
[testenv:typecheck]
description = check static typing soundness with mypy
package = wheel
wheel_build_env = .pkg
deps =
mypy
types-networkx
allowlist_external = mypy
commands = mypy {posargs} src/