forked from click-contrib/click-repl
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
71 lines (62 loc) · 1.19 KB
/
Copy pathtox.ini
File metadata and controls
71 lines (62 loc) · 1.19 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tox]
envlist =
py{py,39,310,311,312,313,314}
flake8
click7
click81
click82
click83
minversion = 3.8.20
isolated_build = true
[gh-actions]
python =
3.9: py39, click7, click81
3.10: py310, click81, click82, click83
3.11: py311, click81, click82, click83
3.12: py312, click81, click82, click83
3.13: py313, click81, click82, click83
3.14: py314, mypy, flake8, click81, click82, click83
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest
pytest-cov
flake8
mypy
tox
commands =
pytest --basetemp={envtmpdir}
[testenv:flake8]
basepython = python3
deps = flake8
commands = flake8 click_repl tests
[testenv:mypy]
basepython = python3
deps = mypy
commands = mypy click_repl
[testenv:click7]
basepython = python3.9
deps =
click==7.1.2
pytest
pytest-cov
commands = pytest --basetemp={envtmpdir}
[testenv:click81]
deps =
click==8.1.8
pytest
pytest-cov
commands = pytest --basetemp={envtmpdir}
[testenv:click82]
deps =
click==8.2.1
pytest
pytest-cov
commands = pytest --basetemp={envtmpdir}
[testenv:click83]
deps =
click==8.3.1
pytest
pytest-cov
commands = pytest --basetemp={envtmpdir}