-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (25 loc) · 723 Bytes
/
tox.ini
File metadata and controls
30 lines (25 loc) · 723 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
# To use tox, see https://tox.readthedocs.io
# Simply pip or conda install tox
# If you use conda, you may also want to install tox-conda
# then run `tox` or `tox -- {pytest args}`
# run in parallel using `tox -p`
[tox]
envlist = py310
[testenv]
usedevelop = true
[testenv:py{310,311,312,313}]
extras = testing
deps = markdown-it-py>=4.1.0
commands = pytest {posargs}
[testenv:docs-{update,clean}]
extras = rtd
allowlist_externals = rm
commands =
clean: rm -rf docs/_build
sphinx-build -nW --keep-going -b {posargs:html} docs/ docs/_build/{posargs:html}
[testenv:pre-commit]
deps = pre-commit
commands = pre-commit run {posargs:--all-files}
[testenv:mypy]
deps = mypy
commands = mypy mdit_py_plugins {posargs}