-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (48 loc) · 895 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
[tox]
envlist =
py{37,39,310,311}
report
lint
toxworkdir = {tox_root}/.tox
skip_missing_interpreters = true
[testenv]
deps =
coverage
pytest
pytest-cov
commands =
pytest --cov --cov-config tox.ini {posargs:tests}
[testenv:lint]
skipsdist = true
skip_install = true
deps =
black[jupyter]
commands = black {posargs:.}
[tool:pytest]
minversion = 6.0
addopts = --verbose --showlocals --cov-report=term-missing --cov-append
testpaths =
tests
[coverage:run]
data_file = .tox/coverage/.coverage
include =
glimr/*
{envsitepackagesdir}/glimr/*
omit =
tests/*
[coverage:paths]
source =
glimr/
{envsitepackagesdir}/glimr/
[testenv:report]
skipsdist = true
skip_install = true
deps = coverage
commands =
coverage report
coverage html
coverage xml
[coverage:html]
directory = .tox/coverage/html
[coverage:xml]
output = .tox/coverage/coverage.xml