forked from Rob-Pait/dreamcloud-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (28 loc) · 634 Bytes
/
tox.ini
File metadata and controls
33 lines (28 loc) · 634 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
[tox]
minversion = 1.6
envlist = checksyntax, html
skipsdist = True
[testenv]
basepython = python2.7
deps = -r{toxinidir}/requirements.txt
whitelist_externals =
bash
mkdir
mv
rsync
cd
find
grep
[doc8]
max-line-length=79
verbose=0
ignore-path-errors={toxinidir}/source/dreamobjects/api-docs/s3-serviceops.rst;D001
ignore=D001
[testenv:html]
commands = sphinx-build -W -E -b html -d {toxinidir}/build/doctrees {toxinidir}/source {toxinidir}/build/html
[testenv:checksyntax]
commands =
# checks presence of labels in files
./check-labels.sh
# checks rst conventions
doc8 source