linkchecker/tox.ini
Chris Mayo 48496b3854 Use a geoip tox factor
GeoIP requires libGeoIP which tox deps cannot install.
Likewise the GeoLiteCountry database which is also required by
TestLocationInfo().

The last GeoIP release was in 2014, and libGeoIP has been EOL since 2022,
but it is still available in Debian/Ubuntu.
2024-08-27 19:34:28 +01:00

47 lines
897 B
INI

[tox]
envlist = py3{9,10,11,12,13}, minreqs
[base]
deps =
cryptography
pyftpdlib
parameterized
pyopenssl
pytest-xdist
pytest-cov
geoip: 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/