generated from sco1/py-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
60 lines (52 loc) · 952 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
53
54
55
56
57
58
59
60
[pytest]
testpaths = tests/
addopts =
--cov=pyflysight
--cov=tests
--cov-branch
--cov-append
--cov-report term-missing:skip-covered
[coverage:run]
omit =
pyflysight/trim_app.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,mkdocs
skip_missing_interpreters = True
minversion = 3.14.0
isolated_build = True
[testenv]
commands = python -m pytest
deps =
pytest
pytest-check
pytest-cov
pytest-mock
pytest-randomly
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:cog]
commands = cog -r README.md
deps =
cogapp
typer-slim
[testenv:mkdocs]
commands = mkdocs build
deps =
black
mkdocs
mkdocs-click
mkdocstrings-python
pymdown-extensions
[gh-actions] # For tox GHA
python =
3.11: py311
3.12: py312
3.13: py313