mirror of
https://github.com/hanzoui/pyisolate.git
synced 2026-10-30 20:37:17 +00:00
32 lines
480 B
INI
32 lines
480 B
INI
[tox]
|
|
envlist = py{39,310,311,312}, lint, type
|
|
isolated_build = True
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest>=7.0
|
|
pytest-cov>=4.0
|
|
commands =
|
|
pytest {posargs}
|
|
|
|
[testenv:lint]
|
|
deps =
|
|
ruff>=0.11.0
|
|
commands =
|
|
ruff check .
|
|
ruff format --check .
|
|
|
|
[testenv:type]
|
|
deps =
|
|
mypy>=1.0
|
|
commands =
|
|
mypy pyisolate
|
|
|
|
[testenv:docs]
|
|
deps =
|
|
sphinx>=5.0
|
|
sphinx-rtd-theme>=1.0
|
|
changedir = docs
|
|
commands =
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|