mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-29 18:44:43 +00:00
Beautiful Soup uses chardet, if installed, to detect character encodings. This can lead to different test results based on whether chardet is installed or not. Requests < 2.26.0 requires chardet, but since 2.26.0 Requests requires charset_normalizer. Explicitly installing chardet maintains consistent test results.
39 lines
653 B
INI
39 lines
653 B
INI
[tox]
|
|
envlist = py36, py37, py38, py39
|
|
|
|
[base]
|
|
deps =
|
|
chardet
|
|
pyftpdlib
|
|
parameterized
|
|
pdfminer
|
|
pyopenssl
|
|
pytest-xdist
|
|
pytest-cov
|
|
miniboa >= 1.0.8
|
|
GeoIP
|
|
|
|
[testenv]
|
|
usedevelop = true
|
|
deps =
|
|
-rrequirements.txt
|
|
{[base]deps}
|
|
commands =
|
|
pytest {posargs:--cov=linkcheck}
|
|
setenv =
|
|
LC_ALL=en_US.utf-8
|
|
|
|
[testenv:flake8]
|
|
deps = flake8
|
|
skip_install = true
|
|
commands = flake8 {posargs}
|
|
|
|
[testenv:check-manifest]
|
|
deps = check-manifest
|
|
skip_install = true
|
|
commands = check-manifest {posargs}
|
|
|
|
[testenv:check-python-versions]
|
|
deps = check-python-versions
|
|
skip_install = true
|
|
commands = check-python-versions {posargs}
|