Skip to content

Commit 8f6460a

Browse files
committed
🔧 basic tox config for stubtest
1 parent f7e4333 commit 8f6460a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dev = [
5252
"ruff>=0.9.9",
5353
]
5454
numpy = ["numtype[numpy]"]
55-
orjson = ["orjson>=3.10.15"] # speeds up mypy cache, but is missing 3.13t wheels
55+
orjson = ["orjson>=3.10.15"] # speeds up mypy cache, but is missing 3.13t wheels
5656

5757
[tool.uv]
5858
default-groups = ["dev", "numpy", "orjson"]
@@ -246,6 +246,16 @@ preview = true
246246
allow-dunder-method-names = ["__array__", "__array_ufunc__"]
247247

248248

249+
[tool.tox]
250+
min_version = "4"
251+
env_list = ["3.13", "3.12", "3.11", "3.10"]
252+
253+
[tool.tox.env_run_base]
254+
description = "Run stubtest under {base_python}"
255+
allowlist_externals = ["uv"]
256+
commands = [["uv", "run", "--python={base_python}", "tool/stubtest.py", "--concise"]]
257+
258+
249259
[tool.typos.default]
250260
extend-ignore-identifiers-re = ['ND|nd']
251261

0 commit comments

Comments
 (0)