forked from jd/tenacity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (33 loc) · 871 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
[tox]
envlist = py27, py35, py36, py37, py38, pep8, pypy
[testenv]
usedevelop = True
sitepackages = False
deps =
.[doc]
pytest
typeguard;python_version>='3.0'
commands =
py{27,py}: pytest --ignore='tenacity/tests/test_asyncio.py' {posargs}
py3{5,6,7,8}: pytest {posargs}
py3{5,6,7,8}: sphinx-build -a -E -W -b doctest doc/source doc/build
py3{5,6,7,8}: sphinx-build -a -E -W -b html doc/source doc/build
[testenv:pep8]
basepython = python3
deps = flake8
flake8-import-order
flake8-blind-except
flake8-builtins
flake8-docstrings
flake8-rst-docstrings
flake8-logging-format
commands = flake8
[testenv:reno]
basepython = python3
deps = reno
commands = reno {posargs}
[flake8]
exclude = .tox,.eggs
show-source = true
ignore = D100,D101,D102,D103,D104,D105,D107,G200,G201,W503,W504
enable-extensions=G