Dont run pylint on python2.6 (pylint no longer supports)
This commit is contained in:
8
tox.ini
8
tox.ini
@@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py{26,27,py,33,34,35}, docs
|
envlist = py{26,27,33,34,35,py}, docs
|
||||||
|
|
||||||
[pytest]
|
[pytest]
|
||||||
testpaths = kafka test
|
testpaths = kafka test
|
||||||
@@ -11,7 +11,7 @@ deps =
|
|||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-catchlog
|
pytest-catchlog
|
||||||
pytest-pylint
|
py{27,33,34,35,py}: pytest-pylint
|
||||||
pytest-sugar
|
pytest-sugar
|
||||||
pytest-mock
|
pytest-mock
|
||||||
mock
|
mock
|
||||||
@@ -24,6 +24,10 @@ setenv =
|
|||||||
PROJECT_ROOT = {toxinidir}
|
PROJECT_ROOT = {toxinidir}
|
||||||
passenv = KAFKA_VERSION
|
passenv = KAFKA_VERSION
|
||||||
|
|
||||||
|
[testenv:py26]
|
||||||
|
# pylint doesn't support python2.6
|
||||||
|
commands = py.test {posargs:--cov=kafka}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps =
|
deps =
|
||||||
sphinxcontrib-napoleon
|
sphinxcontrib-napoleon
|
||||||
|
Reference in New Issue
Block a user