-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtox.ini
More file actions
42 lines (34 loc) · 682 Bytes
/
tox.ini
File metadata and controls
42 lines (34 loc) · 682 Bytes
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
[tox]
envlist =
{py311,py312,py313,py314},
lint,
skip_missing_interpreters = True
[testenv]
usedevelop = True
extras =
test
basepython:
py311: python3.11
py312: python3.12
py313: python3.13
py314: python3.14
commands =
pytest --cov=plonecli tests {posargs}
setenv =
PYTHONPATH = {toxinidir}
passenv =
VERBOSE
PLONECLI_TEMPLATES_REPO_URL
PLONECLI_TEMPLATES_BRANCH
PLONECLI_TEMPLATES_DIR
deps =
pytest
pytest-cov
[testenv:lint]
basepython = python3.13
skip_install = true
deps =
ruff
commands =
ruff check {toxinidir}/plonecli {toxinidir}/tests
ruff format --check {toxinidir}/plonecli {toxinidir}/tests