forked from ryanhaining/lazylist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (46 loc) · 904 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
47
48
49
50
51
52
[tox]
minversion = 3.7.0
isolated_build = true
envlist =
py27
py35
py36
py37
py38
static
[testenv]
deps =
pytest
pytest-cov
commands =
pytest --cov iterlist --cov-fail-under 100 --cov-report term-missing {posargs:tests}
[testenv:py27]
deps =
pytest ~= 4.6.0
pytest-cov ~= 2.8.0
futures
[testenv:static]
basepython = python3.7
deps =
bandit ~= 1.6.0
flake8 ~= 3.7.0
flake8-bugbear ~= 19.8.0
flake8-commas ~= 2.0.0
flake8-docstrings ~= 1.4.0
mypy >= 0.740, < 0.750
pylint ~= 2.4.0
commands =
bandit --recursive src
flake8 src
mypy --disallow-untyped-calls --disallow-untyped-defs --disallow-incomplete-defs --disallow-untyped-decorators src
pylint src
[flake8]
extend-ignore = D400,D105
max-line-length = 92
[gh-actions]
python =
2.7: py27
3.5: py35
3.6: py36
3.7: py37, static
3.8: py38