-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathtox.ini
More file actions
41 lines (37 loc) · 907 Bytes
/
Copy pathtox.ini
File metadata and controls
41 lines (37 loc) · 907 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
38
39
40
41
[tox]
# tox 4.56.0 changed the default of skip_missing_interpreters back to false
# (https://github.com/tox-dev/tox/pull/3966). CI runners install only one
# Python version per job, so missing interpreters must be skipped, not failed.
skip_missing_interpreters = true
envlist =
py3.10,
py3.11,
py3.12,
py3.13,
py3.14,
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