forked from yahoo/redislite
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
52 lines (42 loc) · 1.1 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
[tox]
skip_missing_interpreters=True
envlist = py36,py37,py38
[testenv]
deps=
nose
nose-cov
coveralls
commands=
nosetests --exe --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-xml --cover-erase --cover-package=redislite --cover-xml-file=cobertura.xml tests
[testenv:build_docs]
deps=
sphinx
sphinx-pypi-upload
sphinx_rtd_theme
redislite
commands=
python setup.py build_sphinx
[flake8]
filename= *.py
show-source = False
# H104 File contains nothing but comments
# H405 multi line docstring summary not separated with an empty line
# H803 Commit message should not end with a period (do not remove per list discussion)
# H904 Wrap long lines in parentheses instead of a backslash
ignore = H104,H405,H803,H904
builtins = _
exclude=.venv,.git,.tox,build,dist,docs,*lib/python*,*egg,tools,vendor,.update-venv,*.ini,*.po,*.pot
max-line-length = 160
[testenv:pylint]
deps=
pylint
commands=
pylint --output-format=parseable redislite
[testenv:pep8]
deps=
flake8
commands =
flake8 {posargs}
[pycodestyle]
ignore = E1,E2,E3,E4,E5,W293
max_line_length = 160