-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (29 loc) · 852 Bytes
/
Copy pathtox.ini
File metadata and controls
35 lines (29 loc) · 852 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
33
34
35
[tox]
requires = tox-uv
envlist = lint,py310-ptpythonlowest,py310-lowest,py310,py311,py312,py313,py314,py314-ptpython,docs
[testenv]
runner = uv-venv-lock-runner
dependency_groups = tests
deps =
ptpythonlowest: ptpython==3.0.0
ptpython: ptpython>=3.0.0
lowest: ipython==8.0.0
commands = pytest {posargs}
[testenv:lint]
dependency_groups = lint
skip_install = true
commands = pre-commit run --all-files
[testenv:docs]
dependency_groups = docs
commands = sphinx-build docs/ docs/_build {posargs}
; Below tasks are for development only (not run in CI)
[testenv:docs-serve]
runner = uv-venv-runner
deps = sphinx-autobuild
dependency_groups = docs
commands = sphinx-autobuild --port=0 docs/ docs/_build {posargs} --watch src
[testenv:readme-serve]
runner = uv-venv-runner
deps = restview
skip_install = true
commands = restview README.rst