-
Notifications
You must be signed in to change notification settings - Fork 15
/
tox.ini
56 lines (48 loc) · 1.01 KB
/
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
54
55
56
[tox]
envlist = py38,py39,py310,py311,py312
[testenv]
deps =
pytest
pytest-cov
commands =
py.test \
--cov-report=term --cov-report=html --cov-report= --cov=itemloaders \
--doctest-modules \
{posargs:itemloaders tests}
[testenv:extra-deps]
deps =
{[testenv]deps}
attrs
scrapy
[testenv:pypy3]
basepython = pypy3
[docs]
changedir = docs
deps =
-rdocs/requirements.txt
setenv =
READTHEDOCS_PROJECT=itemloaders
READTHEDOCS_VERSION=master
[testenv:docs]
basepython = python3
changedir = {[docs]changedir}
deps = {[docs]deps}
setenv = {[docs]setenv}
commands =
sphinx-build -W -b html . {envtmpdir}/html
[testenv:twinecheck]
basepython = python3
deps =
twine==5.0.0
build==1.2.1
commands =
python -m build --sdist
twine check dist/*
[testenv:typing]
basepython = python3
deps =
mypy==1.10.0
types-attrs==19.1.0
types-jmespath==1.0.2.20240106
commands =
mypy --strict --ignore-missing-imports --implicit-reexport {posargs:itemloaders tests}