forked from line/line-bot-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (25 loc) · 576 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
[tox]
envlist = py27, py34, py35, py36, py37, py37-flake8-src, py37-flake8-other
[testenv]
deps =
six
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
commands = py.test -v tests/
[testenv:py37]
basepython = python3.7
deps = {[testenv]deps}
commands = py.test -v --cov=linebot tests/
[testenv:py37-flake8-src]
basepython = python3.7
deps =
six
flake8
flake8-docstrings
commands = flake8 linebot/
[testenv:py37-flake8-other]
basepython = python3.7
deps =
six
flake8
commands = flake8 tests/ examples/ --max-line-length=120