forked from flexcompute/tidy3d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (30 loc) · 686 Bytes
/
Copy pathtox.ini
File metadata and controls
32 lines (30 loc) · 686 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
31
32
[tox]
envlist =
python3.8
python3.9
python3.10
python3.11
[gh-actions]
python =
3.8: python3.8
3.9: python3.9
3.10: python3.10
3.11: python3.11
[testenv]
setenv =
PIP_FIND_LINKS=https://whls.blob.core.windows.net/unstable/index.html
PIP_ONLY_BINARY=gdstk
MPLBACKEND=agg
deps =
-rrequirements/jax.txt
-rrequirements/gdspy.txt
-rrequirements/gdstk.txt
-rrequirements/dev.txt
-rrequirements/trimesh.txt
-rrequirements/vtk.txt
commands =
pip install requests
black . --check --diff
ruff check tidy3d --fix --exit-non-zero-on-fix
pytest -rA tests
pytest -rA tests/test_data/_test_datasets_no_vtk.py