-
Notifications
You must be signed in to change notification settings - Fork 13
/
tox.ini
46 lines (40 loc) · 1015 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
[tox]
envlist = py3-{functional,style,syntax}
minversion = 4
[gh-actions]
python =
3.9: py3
3.10: py3
3.11: py3
3.12: py3
[testenv]
envdir =
py3{8,9,10,11,}{-functional,-notebooks,-style,-syntax}: {toxworkdir}/py3
docs: {toxworkdir}/docs
usedevelop = true
deps =
coverage
pytest
pytest-cov
pytest-xdist
nbmake
flake8
allowlist_externals =
make
passenv = https_proxy, USER, KRB5CCNAME
commands =
make clean
style: pycodestyle --ignore=E402,W503,W504,E203,E501,E722,W605 bluepyefe
syntax: flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
functional: pytest --cov-report=xml --cov=bluepyefe --cov=tests --cov-config=.coveragerc -vx tests
functional: coverage report --show-missing
functional: coverage xml
notebooks: pytest -n=auto --nbmake "examples"
[testenv:docs]
basepython = python3.9
changedir = docs
deps =
sphinx
sphinx-bluebrain-theme
commands = make html SPHINXOPTS=-W
allowlist_externals = make