Dont run pylint on python2.6 (pylint no longer supports)

This commit is contained in:
Dana Powers
2016-01-03 18:09:13 -08:00
parent 8d85ca2d44
commit b13c92306c

View File

@@ -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