forked from sco1/pre-commit-python-eol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (31 loc) · 619 Bytes
/
tox.ini
File metadata and controls
35 lines (31 loc) · 619 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
[pytest]
testpaths = tests/
addopts =
--cov=pre_commit_python_eol
--cov=tests
--cov-branch
--cov-append
--cov-report term-missing:skip-covered
[coverage:report]
exclude_also =
if TYPE_CHECKING:
if t.TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == "__main__":
[tox]
envlist = clean,py{3.11,3.12,3.13,3.14}
isolated_build = True
skip_missing_interpreters = True
requires =
tox >= 4.0
[testenv]
commands = python -m pytest
deps =
pytest
pytest-cov
pytest-randomly
time-machine
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase