-
-
Notifications
You must be signed in to change notification settings - Fork 586
/
tox.ini
53 lines (45 loc) · 992 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
[tox]
envlist = py{39,310,311,312,313}-{mac,linux,windows},pypy
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
platform =
mac: darwin
windows: win32
linux: linux
extras =
test
py{39,310,311,312}-{mac,linux}: xmlsec # Skip xmlsec on Python 3.13 for now
py{39,310,311,312,313}: async
deps =
py{39,310,311,312,313}: aioresponses==0.5.0
py{39,310,311,312,313}: aiohttp==3.7.4
py{39,310,311,312,313}: pytest-asyncio==0.11.0
commands = coverage run --parallel -m pytest {posargs}
[testenv:pypy]
extras =
test
xmlsec
commands = python -m pytest {posargs}
[testenv:format]
basepython = python3.12
deps =
black
isort[toml]
skip_install = true
commands =
isort --check-only src tests
black --check src/ tests/
[testenv:coverage-report]
basepython = python3.12
deps = coverage[toml]
skip_install = true
commands =
coverage combine
coverage xml
coverage report