-
Notifications
You must be signed in to change notification settings - Fork 40
/
tox.ini
42 lines (37 loc) · 620 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
[tox]
envlist =
py{py,37,38,39,310,311,312}
flake8
click7
minversion = 3.7.14
isolated_build = true
[gh-actions]
python =
3.7: py37, click7, flake8
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest
pytest-cov
flake8
mypy
tox
commands =
pytest --basetemp={envtmpdir}
[testenv:flake8]
basepython = python3.7
deps = flake8
commands = flake8 click_repl tests
[testenv:click7]
basepython = python3.10
deps =
click==7.1.2
pytest
pytest-cov
commands = pytest --basetemp={envtmpdir}