forked from spacetelescope/spaceKLIP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
56 lines (51 loc) · 1.06 KB
/
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
56
[tox]
envlist =
py{310,311}-test
py{310,311}-{latest,stable}-test
isolated_build = true
[testenv]
passenv = *
deps =
pytest
pytest-astropy
latest: -rrequirements.txt
cov: pytest-cov
cov: coverage
conda deps =
scipy
matplotlib
astroquery
commands_pre=
pip install git+https://github.com/JarronL/webbpsf_ext.git@develop
pip install git+https://bitbucket.org/pyKLIP/pyklip.git@jwst
commands=
test: pytest {posargs}
cov: pytest {posargs} --cov-config=pyproject.toml --cov-report=xml --cov=spaceklip spaceklip/tests/
[testenv:docbuild]
basepython= python3.11
passenv= *
deps=
sphinx
sphinx_rtd_theme
stsci_rtd_theme
sphinx-automodapi
sphinx-issues
sphinx-astropy
nbsphinx
conda_deps=
scipy
matplotlib
pandoc
ommands=
sphinx-build docs/source docs/_build
[testenv:codestyle]
basepython= python3.11
skip_install = true
description = check package code style
deps =
pycodestyle
commands =
pycodestyle spaceklip
[testenv:flake8]
exclude= .git,__pycache__, test*
max-line-length = 120