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
|
[tox]
envlist = py
[testenv]
deps =
pytest
pytest-cov >= 7.0.0
commands =
pytest --cov=protego --cov-report=xml --cov-report= {posargs:tests}
[testenv:pre-commit]
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
skip_install = true
[testenv:twinecheck]
basepython = python3
deps =
twine==6.2.0
build==1.4.0
commands =
python -m build --sdist
twine check dist/*
[testenv:typing]
basepython = python3
deps =
mypy==1.19.1
pytest
scrapy==2.14.1
commands =
mypy {posargs: src tests}
|