forked from pfnet/pysen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (43 loc) · 998 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
[tox]
envlist = py{38,39,310}-dacite150-isort51-black{20,22}-mypy078, py{311,312}-dacite150-isort51-black22-mypy099, development, latest
[testenv]
deps =
pytest >=6.2.5,<7.0.0
dacite110: dacite>=1.1.0,<1.2.0
dacite120: dacite>=1.2.0,<1.3.0
dacite150: dacite>=1.5.0,<2.0.0
isort43: isort>=4.3.0,<5.0.0
isort50: isort>=5.0.0,<5.1.0
isort51: isort>=5.1.0,<5.2.0
black19: black==19.10b0
black20: black==20.8b1
black22: black==22.10.0
mypy078: mypy==0.782
mypy099: mypy==0.991
flake8==4.0.1
flake8-bugbear==21.9.2
setuptools>=66.1.0
commands =
pytest -m "not examples"
setenv =
LANG = C
[testenv:latest]
basepython = python3.9
deps =
pipenv==2022.9.8
extras = lint
commands =
pipenv sync --system
pip install .
pip install -U black
pytest
[testenv:development]
basepython = python3.9
deps =
pipenv==2022.9.8
extras = lint
commands =
pipenv sync --system
pip install .
pysen run lint
pytest