-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtox.ini
More file actions
75 lines (65 loc) · 1.29 KB
/
tox.ini
File metadata and controls
75 lines (65 loc) · 1.29 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
[tox]
envlist = pre-commit,mypy,min,min-x402,py39,py310,py311,py312,py313,x402,docs,twine
[testenv]
deps =
pytest
pytest-asyncio
pytest-cov >= 7.0.0
pytest-rerunfailures
pytest-twisted
responses
twisted
commands =
pytest \
--cov-report=term-missing --cov-report=html --cov-report=xml --cov=zyte_api \
--doctest-modules \
{posargs:zyte_api tests}
[testenv:x402]
extras = x402
[min]
deps =
{[testenv]deps}
aiohttp==3.8.0
attrs==20.1.0
brotli==0.5.2
runstats==0.0.1
tenacity==8.2.0
tqdm==4.16.0
w3lib==2.1.1
[testenv:min]
basepython = python3.9
deps = {[min]deps}
[testenv:min-x402]
basepython = python3.10
deps =
{[min]deps}
eth_account==0.13.7
x402==0.1.1
[testenv:mypy]
deps =
mypy==1.18.2
eth-account==0.13.7
pytest==8.3.3
Twisted==25.5.0
types-tqdm==4.67.0.20250809
x402==0.2.1
commands = mypy \
zyte_api \
tests
[testenv:docs]
changedir = docs
deps =
-rdocs/requirements.txt
basepython = python3
commands =
sphinx-build -W -b html . {envtmpdir}/html
[testenv:pre-commit]
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:twine]
deps =
twine==6.2.0
build==1.3.0
commands =
python -m build --sdist
twine check dist/*