-
Notifications
You must be signed in to change notification settings - Fork 8
/
tox.ini
41 lines (35 loc) · 672 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
[tox]
envlist = py310-{lint,type,test}
isolated_build = true
requires =
tox >= 4
tox-gh-actions
tox-extras
[gh-actions]
python =
3.10: py310
[testenv]
skip_sdist = true
skip_install = true
[testenv:py310-lint]
tox_extras=lint
deps =
ruff == 0.1.2
pre-commit == 2.21.0
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:py310-type]
tox_extras=type
deps =
mypy == 1.2.0
types-PyYAML
types-requests
pydantic
commands = mypy src
[testenv:py310-test]
setenv =
PLINDER_LOG_LEVEL=10
PLINDER_OFFLINE=true
passenv =
PLINDER_REGISTRY
extras = test
commands = python flows/docker.py test --dirty {posargs}