forked from guaix-ucm/pyemir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (37 loc) · 782 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
[tox]
envlist =
py{39, 310, 311, 312, 313}{,-remote}{,-dev}
docs
cov
codestyle
isolated_build = True
[testenv]
description =
Run tests
remote: with remote data
dev: with numina from development
deps =
dev: git+https://github.com/guaix-ucm/numina@main
extras =
test
commands =
pytest --remote-data=none
remote: pytest --remote-data
[testenv:docs]
description = Build docs
changedir = doc
extras =
docs
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:cov]
description = Coverage
deps =
pytest
pytest-cov
commands = pytest --cov
[testenv:codestyle]
changedir = src
description = check code style with flake8
skip_install = true
deps = flake8
commands = flake8 emirdrp --count --max-line-length=120