-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
71 lines (65 loc) · 1.22 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[general]
install_requires =
pytest
flake8
pip>=19
name = jujuna
[tox]
minversion=3.3.0
skipsdist = True
envlist = py35, py36, py37, py38, lint, docs
[testenv]
deps =
-rrequirements.txt
{[general]install_requires}
commands =
pytest --tb native -ra -v -s
[testenv:doc8]
basepython = python3.6
skip_install = true
deps =
doc8
commands =
doc8 docs/source/
[testenv:lint]
maxLineLength = 120
deps =
{[testenv:doc8]deps}
flake8
commands =
# flake8 --exclude=.env,.tox --ignore=E402 --max-line-length=120
{[testenv:doc8]commands}
flake8
# Documentation
[testenv:docs]
basepython = python3
deps =
sphinx
sphinx_rtd_theme
sphinx-argparse
.
commands =
sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html
; sphinx-build -E -W -c docs/source/ -b man docs/source/ docs/build/man
; sphinx-build -b html -a -E doc ./docs/html/
[flake8]
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
.env,
env,
venv,
*.pyc,
*.egg-info,
.cache,
.eggs,
get-pip.py
ignore = D203, D100, D103, D202, D200, W504
import-order-style = google
max-line-length = 120
statistics = True