mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-02 22:53:40 +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]
|
- [pywin32]
|
||||||
- [certifi]
|
- [certifi]
|
||||||
- [py2-ipaddress] - Optional: Add IPv6 lookup for Python 2.
|
|
||||||
|
|
||||||
## Core (deluged daemon)
|
## Core (deluged daemon)
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@ chardet
|
|||||||
six
|
six
|
||||||
setproctitle
|
setproctitle
|
||||||
pywin32; sys_platform == 'win32'
|
pywin32; sys_platform == 'win32'
|
||||||
py2-ipaddress; sys_platform == 'win32' and python_version == '2'
|
|
||||||
certifi; sys_platform == 'win32'
|
certifi; sys_platform == 'win32'
|
||||||
zope.interface>=4.4.2
|
zope.interface>=4.4.2
|
||||||
distro; 'win' not in sys_platform
|
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
|
commands = flake8 --exit-zero --max-complexity 15 deluge
|
||||||
|
|
||||||
[testenv:pylint]
|
[testenv:pylint]
|
||||||
|
|
||||||
sitepackages = False
|
sitepackages = False
|
||||||
ignore_errors = True
|
ignore_errors = True
|
||||||
deps = {[baselint]deps}
|
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
|
sphinx-build -v -j auto -E -T -b html -d docs/build/doctrees docs/source docs/build/html
|
||||||
|
|
||||||
[testenv:docscoverage]
|
[testenv:docscoverage]
|
||||||
basepython = python2.7
|
|
||||||
sitepackages = False
|
sitepackages = False
|
||||||
skip_install = True
|
skip_install = True
|
||||||
changedir = docs
|
|
||||||
deps =
|
deps =
|
||||||
{[basedocs]deps}
|
{[basedocs]deps}
|
||||||
pytest-cov
|
pytest-cov
|
||||||
whitelist_externals = mkdir
|
|
||||||
commands =
|
commands =
|
||||||
mkdir -p build/doccoverage
|
sphinx-build -W -b coverage -d docs/build/doctrees docs/source docs/build/doccoverage
|
||||||
sphinx-build -W -b coverage -d build/doctrees source build/doccoverage
|
|
||||||
pytest --doctest-glob='*.rst'
|
pytest --doctest-glob='*.rst'
|
||||||
|
|
||||||
# ========================
|
# ========================
|
||||||
# Development Environment
|
# Development Environment
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
[testenv:denv2]
|
[testenv:denv]
|
||||||
basepython = python2.7
|
|
||||||
envdir = .venv2
|
|
||||||
usedevelop = True
|
|
||||||
deps = {[basedev]deps}
|
|
||||||
commands =
|
|
||||||
|
|
||||||
[testenv:denv3]
|
|
||||||
basepython = python3
|
basepython = python3
|
||||||
envdir = .venv3
|
envdir = .venv
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
deps = {[basedev]deps}
|
deps = {[basedev]deps}
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user