-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (47 loc) · 934 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
[base]
name = poisson_recon_pybind
testdeps =
mock
pytest
[tox]
envlist =
check-version
lint
py{38,39,310,311}
ignore_basepython_conflict = true
[testenv]
basepython=python3.10
setenv =
PIP_INDEX_URL = https://bbpteam.epfl.ch/repository/devpi/simple
passenv = *
deps =
{[base]testdeps}
pybind11
commands = pytest {posargs} tests
[testenv:check-version]
skip_install = true
deps = bbp-nse-ci
commands = do_release.py -p . check-version
[testenv:lint]
deps =
pycodestyle
pylint
commands =
pycodestyle {[base]name}
pylint {[base]name}
[testenv:coverage]
usedevelop=True
deps =
{[base]testdeps}
pytest-cov
commands =
pytest --cov-report term-missing --cov-report xml --cov={[base]name} tests/
[testenv:docs]
changedir = doc
deps = sphinx
commands = make html
allowlist_externals = make
[pycodestyle]
max-line-length = 100
[lint]
extension-pkg-whitelist=numpy, pybind11