-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
57 lines (47 loc) · 1.21 KB
/
tox.ini
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[tox]
minversion = 1.6
envlist = clean,checksyntax,checkbuild
skipsdist = True
[testenv]
deps = -r{toxinidir}/requirements.txt
whitelist_externals =
bash
make
[testenv:clean]
commands =
make clean -C {toxinidir}/docs
[testenv:checkbuild]
commands =
make html -C {toxinidir}/docs
[testenv:checklinks]
commands =
make linkcheck -C {toxinidir}/docs
[testenv:checkspelling]
# By default, spelling errors cause the build to return failure. Fix the
# spelling errors, or add exceptions to the spelling_wordlist.txt file.
#
# Alternatively, to cause the build to succeed despite spelling errors,
# uncomment the following line:
# ignore_outcome=True
commands =
make spelling -C {toxinidir}/docs
[testenv:checksyntax]
commands =
doc8 docs
[testenv:checkversions]
commands =
make clean -C {toxinidir}/docs
sphinx-versioning build {toxinidir}/docs {toxinidir}/docs/_build/html
[testenv:singlehtml]
commands =
make clean -C {toxinidir}/docs
make singlehtml -C {toxinidir}/docs
[doc8]
# Ignore target directories
ignore-path = docs/_build*
# File extensions to use
extensions = .rst,.txt
# Maximal line length is 79.
max-line-length = 79
# Disable D000: Check RST validity (cannot handle lineos directive)
# ignore = D000