forked from readthedocs/sphinx-autoapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (35 loc) · 608 Bytes
/
tox.ini
File metadata and controls
39 lines (35 loc) · 608 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
36
37
38
39
[tox]
isolated_build = true
envlist =
# Keep this in sync with .github/workflows/main.yml
py{36,37,38,39}
formatting
lint
docs
[testenv]
extras =
dotnet
go
deps =
pytest
commands =
pytest {posargs}
[testenv:formatting]
basepython = python3
skip_install = true
deps =
black
commands =
black --check --diff autoapi tests
[testenv:lint]
skip_install = true
deps =
pylint~=2.4.2
commands =
pylint {posargs:autoapi}
[testenv:docs]
extras =
docs
changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html