generated from sco1/py-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
52 lines (45 loc) · 811 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
51
52
[pytest]
testpaths = tests/
addopts =
--cov=zwo
--cov=tests
--cov-branch
--cov-append
--cov-report term-missing:skip-covered
filterwarnings =
ignore::DeprecationWarning
[coverage:run]
omit =
zwo/cli.py
[coverage:report]
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
if t.TYPE_CHECKING:
if typing.TYPE_CHECKING:
[tox]
envlist = clean,py{311,312,313},cog
skip_missing_interpreters = True
minversion = 3.14.0
isolated_build = True
[testenv]
commands = python -m pytest
deps =
pytest
pytest-cov
pytest-randomly
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:cog]
commands = cog -r README.md
deps =
cogapp
rich
typer
[gh-actions] # For tox GHA
python =
3.11: py311
3.12: py312
3.13: py313