-
-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathtox.ini
More file actions
27 lines (23 loc) · 576 Bytes
/
tox.ini
File metadata and controls
27 lines (23 loc) · 576 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
[tox]
envlist = pyrefly, py{38,39,310,311}, docs, docs-links
[testenv:docs]
deps = -rdocs/requirements-docs.txt
commands =
{envpython} -m sphinx -b html docs docs/_build/html
[testenv:clean-docs]
skip_install = true
deps =
commands = python {toxinidir}/docs/clean_build_artifacts.py
[testenv]
deps =
-rrequirements-dev.txt
commands =
coverage erase
coverage run -m pytest {posargs:tests -vv -W error}
coverage xml
coverage report --fail-under 100 --show-missing
[testenv:pyrefly]
deps =
-rrequirements-dev.txt
commands =
pyrefly check nbqa