This repository was archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathtox.ini
More file actions
62 lines (50 loc) · 1.28 KB
/
tox.ini
File metadata and controls
62 lines (50 loc) · 1.28 KB
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
58
59
60
61
62
[tox]
minversion = 1.6
envlist = clean,checkspelling,checksyntax,checkbuild
skipsdist = True
[testenv]
setenv VIRTUAL_ENV={envdir}
install_command = python -m pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
whitelist_externals =
bash
make
[testenv:clean]
commands =
make clean -C {toxinidir}/style-guide
[testenv:checkbuild]
commands =
make html -C {toxinidir}/style-guide
[testenv:checklinks]
commands =
make linkcheck -C {toxinidir}/docs
[testenv:checkspelling]
commands =
make spelling -C {toxinidir}/style-guide
[testenv:checksyntax]
commands =
doc8 style-guide
[testenv:checkversions]
commands =
make clean -C {toxinidir}/style-guide
sphinx-versioning build {toxinidir}/style-guide {toxinidir}/style-guide/_build/html
[testenv:jenkins]
commands =
make htmlvers
#[testenv:publish]
#commands =
# make clean -C {toxinidir}/style-guide
# sphinx-versioning push {toxinidir}/style-guide gh-pages .
[testenv:singlehtml]
commands =
make clean -C {toxinidir}/style-guide
make singlehtml -C {toxinidir}/style-guide
[docs8]
# Ignore target directories
ignore-path = style-guide/_build*
# File extensions to use
extensions = .rst
# Maximal line length is 79.
max-line-length = 79
# Disable D000: Check RST validity (cannot handle lineos directive)
# ignore = D000