mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-23 17:59:17 +00:00
[Tests] Remove python2 from tox config
This commit is contained in:
parent
be74d96c6a
commit
ce8595e8dd
@ -38,7 +38,6 @@ All modules will require the [common](#common) section dependencies.
|
||||
|
||||
- [pywin32]
|
||||
- [certifi]
|
||||
- [py2-ipaddress] - Optional: Add IPv6 lookup for Python 2.
|
||||
|
||||
## Core (deluged daemon)
|
||||
|
||||
|
@ -8,7 +8,6 @@ chardet
|
||||
six
|
||||
setproctitle
|
||||
pywin32; sys_platform == 'win32'
|
||||
py2-ipaddress; sys_platform == 'win32' and python_version == '2'
|
||||
certifi; sys_platform == 'win32'
|
||||
zope.interface>=4.4.2
|
||||
distro; 'win' not in sys_platform
|
||||
|
18
tox.ini
18
tox.ini
@ -119,7 +119,6 @@ deps = {[baselint]deps}
|
||||
commands = flake8 --exit-zero --max-complexity 15 deluge
|
||||
|
||||
[testenv:pylint]
|
||||
|
||||
sitepackages = False
|
||||
ignore_errors = True
|
||||
deps = {[baselint]deps}
|
||||
@ -157,33 +156,22 @@ commands =
|
||||
sphinx-build -v -j auto -E -T -b html -d docs/build/doctrees docs/source docs/build/html
|
||||
|
||||
[testenv:docscoverage]
|
||||
basepython = python2.7
|
||||
sitepackages = False
|
||||
skip_install = True
|
||||
changedir = docs
|
||||
deps =
|
||||
{[basedocs]deps}
|
||||
pytest-cov
|
||||
whitelist_externals = mkdir
|
||||
commands =
|
||||
mkdir -p build/doccoverage
|
||||
sphinx-build -W -b coverage -d build/doctrees source build/doccoverage
|
||||
sphinx-build -W -b coverage -d docs/build/doctrees docs/source docs/build/doccoverage
|
||||
pytest --doctest-glob='*.rst'
|
||||
|
||||
# ========================
|
||||
# Development Environment
|
||||
# ========================
|
||||
|
||||
[testenv:denv2]
|
||||
basepython = python2.7
|
||||
envdir = .venv2
|
||||
usedevelop = True
|
||||
deps = {[basedev]deps}
|
||||
commands =
|
||||
|
||||
[testenv:denv3]
|
||||
[testenv:denv]
|
||||
basepython = python3
|
||||
envdir = .venv3
|
||||
envdir = .venv
|
||||
usedevelop = True
|
||||
deps = {[basedev]deps}
|
||||
commands =
|
||||
|
Loading…
x
Reference in New Issue
Block a user