mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-22 13:21:52 +00:00
Replacing deprecated use of pyOpenSSL. linkchecker/tests/checker/test_https.py:45: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. [crypto.X509Extension(b"subjectAltName", False, b"DNS:localhost")])
47 lines
889 B
INI
47 lines
889 B
INI
[tox]
|
|
envlist = py3{8,9,10,11,12}, minreqs
|
|
|
|
[base]
|
|
deps =
|
|
cryptography
|
|
pyftpdlib
|
|
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/
|