-
Notifications
You must be signed in to change notification settings - Fork 6
/
tox.ini
54 lines (44 loc) · 893 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
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
env_list = flake8, pylint, mypy, py37, py38, py39, py310, py311
requires = tox-conda
isolated_build = true
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310, flake8, pylint, mypy
3.11: py311
[testenv]
basepython = python3.10
deps =
pytest
pytest-asyncio
commands = pytest {posargs:tests}
[testenv:flake8]
deps =
flake8
flake8-bugbear
flake8-docstrings
flake8-pyproject
flake8-quotes
flake8-simplify
commands = flake8 {posargs:src}
[testenv:pylint]
deps =
pylint
commands = pylint {posargs:src}
[testenv:mypy]
deps =
mypy
commands = mypy {posargs:src}
[testenv:py37]
basepython = python3.7
[testenv:py38]
basepython = python3.8
[testenv:py39]
basepython = python3.9
[testenv:py310]
basepython = python3.10
[testenv:py311]
basepython = python3.11