Fix tox.ini for Tox v4
A variety of cleanups and configuration updates necessitated by tox v4, but which should be compatible with v3. Change-Id: I6bf01a77555738c91c466eff303e8f2ff6967f63
This commit is contained in:
parent
d76ecac71b
commit
bd2797d5da
10
tox.ini
10
tox.ini
@ -1,10 +1,8 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = ical,pep8
|
envlist = ical,pep8
|
||||||
minversion = 1.6
|
minversion = 3
|
||||||
skipsdist = True
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
install_command = pip install -U {opts} {packages}
|
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
@ -12,8 +10,7 @@ deps = -r{toxinidir}/test-requirements.txt
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:ical]
|
[testenv:ical]
|
||||||
basepython = python3
|
allowlist_externals =
|
||||||
whitelist_externals =
|
|
||||||
mkdir
|
mkdir
|
||||||
ln
|
ln
|
||||||
commands =
|
commands =
|
||||||
@ -29,8 +26,7 @@ commands =
|
|||||||
ln -sf ./doc/build/html/ output
|
ln -sf ./doc/build/html/ output
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
allowlist_externals = bash
|
||||||
whitelist_externals = bash
|
|
||||||
commands =
|
commands =
|
||||||
bash test_tools/flake8wrap.sh {posargs}
|
bash test_tools/flake8wrap.sh {posargs}
|
||||||
python tools/check_chair.py -y {toxinidir}/meetings
|
python tools/check_chair.py -y {toxinidir}/meetings
|
||||||
|
Loading…
Reference in New Issue
Block a user