forked from jd/tenacity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
57 lines (50 loc) · 1.06 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
53
54
55
56
57
[tox]
envlist = py3{6,7,8,9,10,11}, pep8, pypy3
skip_missing_interpreters = True
[testenv]
usedevelop = True
sitepackages = False
deps =
.[doc]
pytest
typeguard
commands =
py3{6,7,8,9,10,11},pypy3: pytest {posargs}
py3{6,7,8,9,10,11},pypy3: sphinx-build -a -E -W -b doctest doc/source doc/build
py3{6,7,8,9,10,11},pypy3: 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:black]
deps =
black
commands =
black .
[testenv:mypy]
deps =
mypy>=1.0.0
commands =
mypy tenacity
[testenv:black-ci]
deps =
black
{[testenv:black]deps}
commands =
black --check --diff .
[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,E501
enable-extensions=G
max-line-length = 120