forked from yahoo/redislite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (40 loc) · 969 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]
skip_missing_interpreters=True
isolated_build=True
envlist = py38,py39,py310,py311
[testenv]
changedir = {toxinidir}
commands =
{envpython} {envbindir}/pytest --junitxml={env:SD_ARTIFACTS_DIR:artifacts}/test/pytest_{envname}.xml -o junit_suite_name={envname} --cov=redislite --cov-report=xml:cobertura.xml --cov-report term-missing tests/
deps =
pytest
pytest-cov
coveralls
passenv = SSH_AUTH_SOCK, BUILD_NUMBER, SD_ARTIFACTS_DIR
extras =
test
[testenv:build_docs]
deps=
sphinx
sphinx-pypi-upload
sphinx_rtd_theme
redislite
commands=
python setup.py build_sphinx
[testenv:pylint]
deps=
pylint
commands=
pylint --output-format=parseable redislite
[pycodestyle]
ignore = E1,E2,E3,E4,E5,W293
max_line_length = 160
[testenv:pycodestyle]
deps =
pycodestyle
commands = {envpython} {envbindir}/pycodestyle redislite
changedir = {toxinidir}
passenv = SSH_AUTH_SOCK, BUILD_NUMBER
extras =
pep8
pycodestyle