-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
48 lines (44 loc) · 969 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
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = py{310,311,312}-{linux,macos,windows}
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows
[testenv]
platform =
macos: darwin
linux: linux
windows: win32
passenv =
CI
GITHUB_ACTIONS
DISPLAY
XAUTHORITY
NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
PYVISTA_OFF_SCREEN
deps =
pytest # https://docs.pytest.org/en/latest/contents.html
pytest-cov # https://pytest-cov.readthedocs.io/en/latest/
napari>=0.4.19
pydantic>=2.0
magicgui
pytest-qt
qtpy
pyqt5
h5py
pandas
pooch
libconf
ipywidgets
commands =
python -c "from yt_napari._version import version; print(version)"
pytest -v --color=yes --cov=yt_napari --cov-report=xml --cov-report=html
[flake8]
max-line-length = 88