-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
42 lines (37 loc) · 818 Bytes
/
tox.ini
File metadata and controls
42 lines (37 loc) · 818 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
39
40
41
42
[tox]
envlist = py313, docs, lint
requires = tox>=4.6
[testenv]
description = run tests
basepython = python3.13
package = wheel
extras = dev
usedevelop = true
commands = pytest --cov=src --cov-report=xml {posargs}
[testenv:docs]
description = build docs
extras = dev
commands = sphinx-build -b html docs/source docs/build
[testenv:lint]
description = run linters
skip_install = true
deps = pre-commit
commands = python -m pre_commit run --color=always {posargs:--all}
[coverage:run]
source = src
omit =
*/tests/*
*/test_*
*/__pycache__/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
class .*\bProtocol\):
@(abc\.)?abstractmethod