forked from spacetelescope/poppy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
60 lines (55 loc) · 1.17 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
57
58
59
60
[tox]
envlist =
py{39,310,311}-test
py{39,310,311}-{astropydev,legacy,latest}-test
py{39,310,311}{,-syn}-cov
py310-numexpr-mkl-cov
isolated_build = true
[testenv]
passenv = *
deps=
pytest
cov: pytest-astropy
cov: pytest-cov
syn: synphot
legacy: numpy==1.20.0
legacy: astropy==4.3.0
latest: -rrequirements.txt
astropydev: git+https://github.com/astropy/astropy
numexpr: numexpr>=2.6.0
conda_deps=
mkl: mkl_fft
conda_channels=
mkl: intel
conda_install_args=
mkl: --override-channels
commands=
test: pytest {posargs}
cov: pytest {posargs} --cov-config=pyproject.toml --cov-report=xml --cov-report=term-missing --cov=poppy poppy/tests/
[testenv:docbuild]
basepython= python3.10
deps=
sphinx
sphinx_rtd_theme
stsci_rtd_theme
sphinx-automodapi
sphinx-issues
sphinx-astropy
nbsphinx
conda_deps=
scipy
matplotlib
pandoc
commands=
sphinx-build docs docs/_build
[testenv:codestyle]
basepython= python3.10
skip_install = true
description = check package code style
deps =
pycodestyle
commands =
pycodestyle poppy
[testenv:flake8]
exclude= .git,__pycache__, test*
max-line-length = 120