-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
62 lines (55 loc) · 909 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
55
56
57
58
59
60
61
62
[tox]
envlist = py38,py39,py310,py311,py312,black,isort,ssort,pyflakes,pylint,mypy
isolated_build = true
[testenv]
deps =
pytest
pyyaml==6.0.1
commands =
pytest -vv tests/
[testenv:black]
basepython = py312
deps =
black
skip_install = True
commands =
black --check --diff .
[testenv:isort]
basepython = py312
deps =
isort
skip_install = True
commands =
isort --check-only --diff .
[testenv:ssort]
basepython = py312
commands =
ssort --check --diff src/ tests/
[testenv:pyflakes]
basepython = py312
deps =
pyflakes
skip_install = True
commands =
pyflakes src/ tests/
[testenv:pylint]
basepython = py312
deps =
pytest
pyyaml==6.0.1
pylint
extras=
test
commands =
pylint -E src/ tests/
[testenv:mypy]
basepython = py312
deps =
mypy
pytest
pyyaml==6.0.1
types-PyYAML
types-setuptools
skip_install = True
commands =
mypy .