tox: simplify with new-ish tox features
use 'extras' and 'usedevelop' instead of 'deps = --editable=.[dev]'
This commit is contained in:
parent
abe305a80d
commit
625cb96b63
6
tox.ini
6
tox.ini
|
@ -6,11 +6,12 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = {py27,py33,py34,py35,py36,pypy}
|
envlist = {py27,py33,py34,py35,py36,pypy}
|
||||||
skip_missing_interpreters = True
|
skip_missing_interpreters = True
|
||||||
|
minversion = 2.4.0
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
skip_install = True
|
usedevelop = True
|
||||||
|
extras = dev
|
||||||
deps =
|
deps =
|
||||||
--editable=.[dev]
|
|
||||||
pyflakes >= 1.2.3
|
pyflakes >= 1.2.3
|
||||||
commands =
|
commands =
|
||||||
pyflakes setup.py src
|
pyflakes setup.py src
|
||||||
|
@ -28,7 +29,6 @@ commands =
|
||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
deps =
|
deps =
|
||||||
--editable=.[dev]
|
|
||||||
pyflakes >= 1.2.3
|
pyflakes >= 1.2.3
|
||||||
coverage
|
coverage
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user