-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtox.ini
47 lines (40 loc) · 756 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
[tox]
[gh]
python =
3.8 = 3.8
3.9 = 3.9
3.10 = 3.10
3.11 = 3.11
3.12 = 3.12, type, readme, doctests, docs
[testenv]
deps =
pytest==8.3.3
pytest-cov==5.0.0
description = Run unit tests
commands =
pytest tests/unit/ --cov=skspatial --cov-report=xml
[testenv:lint]
deps =
pre-commit==3.8.0
commands =
pre-commit run --all-files
[testenv:type]
deps =
mypy==1.11.2
commands =
mypy src/
[testenv:readme]
commands =
python -m doctest README.md
[testenv:doctests]
commands =
pytest --doctest-modules src/
[testenv:docs]
deps =
Sphinx==5.3.0
numpydoc==1.5.0
setuptools==69.0.3
sphinx-bootstrap-theme==0.8.1
sphinx-gallery==0.9.0
commands =
sphinx-build docs/source/ docs/build/