forked from BiBimBapXOpenStack/bibimbapXopenstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (33 loc) · 985 Bytes
/
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
[tox]
envlist = lint,doc8
[testenv]
usedevelop = False
install_command = pip install {opts} {packages}
deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
sitepackages = False
allowlist_externals =
rm
make
[doc8]
deps = sphinx
ignore-path = */build*
extentsions = .rst,.txt
max-line-length = 79
[testenv:doc8]
commands =
sphinx-build -W -d build/doctrees -b html docs/source build/html
[testenv:html]
commands =
sphinx-build -W -d build/doctrees -b html docs/source build/html
[flake8]
# H106: Don't put vim configuration in source files.
# H203: Use assertIs(Not)None to check for None.
# H204: Use assert(Not)Equal to check for equality.
# H205: Use assert(Greater|Less)(Equal) for comparison.
# H210: Require 'autospec', 'spec', or 'spec_set' in mock.patch/mock.patch.object calls
# H904: Delay string interpolations at logging calls.
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
show-source = True
enable-extentsions = H203,H106