forked from Pbartek/pyobd-pi
-
Notifications
You must be signed in to change notification settings - Fork 420
Expand file tree
/
Copy pathtox.ini
More file actions
46 lines (40 loc) · 702 Bytes
/
tox.ini
File metadata and controls
46 lines (40 loc) · 702 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
43
44
45
46
[tox]
envlist =
py{39,310,311,312,313},
coverage
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
usedevelop = true
setenv =
COVERAGE_FILE={toxinidir}/.coverage_{envname}
deps =
pdbpp==0.10.3
pytest==7.2.1
pytest-cov==4.0.0
commands =
pytest --cov-report= --cov=obd {posargs}
[testenv:coverage]
skipsdist = true
deps =
coverage
whitelist_externals =
/bin/bash
commands =
/bin/bash -c 'coverage combine {toxinidir}/.coverage_*'
coverage html -i
coverage report -i --show-missing
[flake8]
max-line-length = 120
[coverage:run]
omit =
.tox/*
env/*
[coverage:paths]
source =
obd/