-
Notifications
You must be signed in to change notification settings - Fork 358
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (32 loc) · 662 Bytes
/
Copy pathtox.ini
File metadata and controls
39 lines (32 loc) · 662 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
[tox]
envlist = py310, py311, py312, py313
isolated_build = true
[testenv]
deps =
pytest>=8.3.4
pytest-asyncio>=0.25.2
pytest-xdist>=3.6.1
pytest-cov>=6.0.0
commands =
pytest tests/ -v --junitxml=junit.xml
allowlist_externals = pytest
[testenv:py310]
basepython = python3.10
[testenv:py311]
basepython = python3.11
[testenv:py312]
basepython = python3.12
[testenv:py313]
basepython = python3.13
[testenv:coverage]
deps =
{[testenv]deps}
pytest-cov
commands =
pytest tests/ --cov=fli --cov-report=html --cov-report=term-missing
[testenv:lint]
deps =
ruff>=0.8.4
commands =
ruff format . --check
ruff check .