2017-02-01 12:56:43 +00:00
|
|
|
[tox]
|
2024-08-21 18:34:37 +00:00
|
|
|
envlist = py3{9,10,11,12,13}, minreqs
|
2017-02-01 12:56:43 +00:00
|
|
|
|
2019-10-05 18:38:57 +00:00
|
|
|
[base]
|
2017-02-01 12:56:43 +00:00
|
|
|
deps =
|
2023-11-07 19:30:59 +00:00
|
|
|
cryptography
|
2023-11-01 19:26:48 +00:00
|
|
|
pyftpdlib
|
2019-11-11 20:12:25 +00:00
|
|
|
pyopenssl
|
2017-02-01 12:56:43 +00:00
|
|
|
pytest-xdist
|
2017-02-13 15:46:27 +00:00
|
|
|
pytest-cov
|
2024-08-27 18:34:28 +00:00
|
|
|
geoip: GeoIP
|
2019-10-05 18:38:57 +00:00
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
|
usedevelop = true
|
|
|
|
|
deps =
|
2022-11-30 19:21:06 +00:00
|
|
|
!minreqs: -rrequirements.txt
|
|
|
|
|
minreqs: -rrequirements-min.txt
|
2019-10-05 18:38:57 +00:00
|
|
|
{[base]deps}
|
2017-02-01 12:56:43 +00:00
|
|
|
commands =
|
2022-11-30 19:21:06 +00:00
|
|
|
!minreqs: pytest {posargs:--cov=linkcheck}
|
|
|
|
|
minreqs: pytest {posargs:--cov=linkcheck -c pytest-minreqs.ini}
|
2023-06-10 16:31:09 +00:00
|
|
|
passenv = CI
|
2017-02-01 12:56:43 +00:00
|
|
|
setenv =
|
|
|
|
|
LC_ALL=en_US.utf-8
|
2019-10-05 18:38:57 +00:00
|
|
|
|
2020-05-19 16:24:22 +00:00
|
|
|
[testenv:flake8]
|
|
|
|
|
deps = flake8
|
|
|
|
|
skip_install = true
|
2020-05-26 19:20:57 +00:00
|
|
|
commands = flake8 {posargs}
|
2020-05-25 16:32:39 +00:00
|
|
|
|
2023-05-03 18:24:53 +00:00
|
|
|
[testenv:check-python-versions]
|
|
|
|
|
deps = check-python-versions
|
|
|
|
|
skip_install = true
|
|
|
|
|
commands = check-python-versions {posargs}
|
|
|
|
|
|
2023-05-03 18:24:53 +00:00
|
|
|
[testenv:pylint]
|
|
|
|
|
deps =
|
|
|
|
|
pylint
|
|
|
|
|
-rrequirements.txt
|
|
|
|
|
skip_install = true
|
|
|
|
|
commands = pylint {posargs} -E linkcheck
|
|
|
|
|
|
2021-11-30 19:45:17 +00:00
|
|
|
[testenv:yamllint]
|
|
|
|
|
deps = yamllint
|
|
|
|
|
skip_install = true
|
|
|
|
|
commands = yamllint {posargs} -s .github/workflows/
|