-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (42 loc) · 809 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
40
41
42
43
44
45
46
[tox]
envlist = py36, py37, py38, py39, pypy3, pep8, doc
[testenv]
commands = nosetests
deps =
nose
[testenv:pep8]
deps =
flake8
flake8-import-order
flake8-blind-except
flake8-builtins
flake8-docstrings
flake8-logging-format
pep8-naming
commands =
flake8 src/ tests/
[flake8]
exclude =
src/*.egg-info
.eggs/
.tox/
conf.py
conftest.py
setup.py
ignore = D107,D211,D400,D403,E251,E265,E266,E402,E731,W504
per-file-ignores =
test_*.py:D101,D103
show-source = true
enable-extensions=G
import-order-style = appnexus
application-package-names = decimalfp
max-complexity = 13
[testenv:doc]
whitelist_externals = make
deps =
sphinx
sphinxcontrib-napoleon
sphinx_py3doc_enhanced_theme
commands =
make -C doc clean
make -C doc html