forked from glue-viz/glue-jupyter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (37 loc) · 777 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
[tox]
envlist =
py{36,37,38}-{test,notebooks,docs,devdeps}
requires = pip >= 18.0
setuptools >= 30.3.0
isolated_build = true
[testenv]
passenv =
DISPLAY
HOME
whitelist_externals =
find
rm
sed
make
changedir =
test: .tmp/{envname}
docs: docs
deps =
nbconvert>=5,<6
notebooks: astroquery
notebooks: pyyaml
devdeps: git+https://github.com/glue-viz/glue
extras =
test: test
notebooks: test
docs: docs
commands =
test: pip freeze
test: pytest --pyargs glue_jupyter --cov glue_jupyter {posargs}
notebooks: python .validate-notebooks.py
docs: sphinx-build -n -b html -d _build/doctrees . _build/html
[testenv:codestyle]
deps = flake8
skip_install = true
commands =
flake8 glue_jupyter