linkchecker/tox.ini
2023-09-06 19:22:04 +01:00

46 lines
969 B
INI

[tox]
envlist = py3{8,9,10,11,12}, minreqs
[base]
deps =
pyftpdlib @ https://github.com/giampaolo/pyftpdlib/archive/ec1f095910846c11fe3a7f8513de771afc7c8afd.tar.gz
parameterized
pyopenssl
pytest-xdist
pytest-cov
GeoIP
[testenv]
usedevelop = true
deps =
!minreqs: -rrequirements.txt
minreqs: -rrequirements-min.txt
{[base]deps}
commands =
!minreqs: pytest {posargs:--cov=linkcheck}
minreqs: pytest {posargs:--cov=linkcheck -c pytest-minreqs.ini}
passenv = CI
setenv =
LC_ALL=en_US.utf-8
[testenv:flake8]
deps = flake8
skip_install = true
commands = flake8 {posargs}
[testenv:check-python-versions]
deps = check-python-versions
skip_install = true
commands = check-python-versions {posargs}
[testenv:pylint]
deps =
pylint
-rrequirements.txt
skip_install = true
commands = pylint {posargs} -E linkcheck
[testenv:yamllint]
deps = yamllint
skip_install = true
commands = yamllint {posargs} -s .github/workflows/