linkchecker/tox.ini
Chris Mayo 26c15c5e67 Fix deprecation warning for resolver.query()
/home/travis/build/linkchecker/linkchecker/linkcheck/checker/mailtourl.py:321: DeprecationWarning: please use dns.resolver.resolve() instead
    answers = resolver.query(domain, 'MX')
2020-09-14 19:55:05 +01:00

44 lines
706 B
INI

[tox]
envlist = py36, py37, py38, py39, oldbs4
[base]
deps =
pyftpdlib
parameterized
pdfminer
pyopenssl
pytest-xdist
pytest-cov
miniboa >= 1.0.8
biplist
GeoIP
[testenv]
usedevelop = true
deps =
-rrequirements.txt
{[base]deps}
commands =
pytest {posargs:--cov=linkcheck}
setenv =
LC_ALL=en_US.utf-8
[testenv:oldbs4]
# test bs4 without line number support
basepython = python3
deps =
beautifulsoup4 < 4.8.1
requests >= 2.4
pyxdg
dnspython >= 2.0
{[base]deps}
[testenv:flake8]
deps = flake8
skip_install = true
commands = flake8 {posargs}
[testenv:check-manifest]
deps = check-manifest
skip_install = true
commands = check-manifest