-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (28 loc) · 716 Bytes
/
tox.ini
File metadata and controls
30 lines (28 loc) · 716 Bytes
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
[tox]
# SPEC 0: Only test Python versions within 36-month support window
envlist = py{312,313,314},lint
isolated_build = True
[testenv]
deps =
pytest>=7.0
pytest-cov
playwright>=1.40
pytest-playwright>=0.4.0
imageio>=2.28
pillow>=9.0
commands_pre =
playwright install chromium
# Playwright browser tests are skipped until VTK.wasm API adaptations are made.
# See: https://github.com/tkoyama010/pyvista-wasm/issues/2
commands =
pytest tests/ src/ -m "not playwright" --cov=pyvista_wasm --cov-report=xml --cov-report=term {posargs}
[testenv:lint]
deps =
ruff>=0.1.0
mypy>=1.0.0
numpy>=2.0
commands_pre =
commands =
ruff check .
ruff format --check .
mypy src/