forked from line/line-bot-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (33 loc) · 644 Bytes
/
tox.ini
File metadata and controls
37 lines (33 loc) · 644 Bytes
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 =
py3.9,
py3.10,
py3.11,
py3.12,
py3.13,
py3-flake8-src,
py3-flake8-other
[testenv]
deps =
six
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
commands = py.test -v tests/
[testenv:py3]
basepython = python3
deps = {[testenv]deps}
commands = py.test -v --cov=linebot tests/
[testenv:py3-flake8-src]
basepython = python3
deps =
six
flake8
flake8-docstrings
# Ignores generated files.
commands = flake8 --filename=linebot/*.py
[testenv:py3-flake8-other]
basepython = python3
deps =
six
flake8
commands = flake8 tests/ examples/ --max-line-length=120