-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
50 lines (44 loc) · 807 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
[pytest]
testpaths = testing/
addopts =
--cov=flake8_annotations
--cov=testing
--cov-branch
--cov-append
--cov-report term-missing:skip-covered
[coverage:report]
exclude_lines =
pragma: no cover
if t.TYPE_CHECKING:
if typing.TYPE_CHECKING:
if TYPE_CHECKING:
[tox]
envlist = clean,py{39,310,311,312,313},cog
skip_missing_interpreters = True
minversion = 3.14.0
isolated_build = True
[testenv]
commands = python -m pytest
deps =
pytest
pytest-check
pytest-cov
pytest-randomly
flake8
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:cog]
commands = cog -r README.md
deps =
cogapp
attrs
flake8
[gh-actions] # For tox GHA
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313