Pylint and flake8 is not supported on Python 2.6.

This commit is contained in:
Andris Raugulis
2017-03-26 06:47:31 +03:00
parent 76849540be
commit 0ffb15dd54
2 changed files with 13 additions and 11 deletions

11
tox.ini
View File

@ -1,6 +1,7 @@
[tox]
envlist =
py{26,27,py,py3}-{test,pylint,flake8,vulture}
py26-{test,vulture}
py{27,py,py3}-{test,pylint,flake8,vulture}
py{33,34,35,36,37}-{test,mypy,pylint,flake8,vulture}
cov
skipsdist = true
@ -12,8 +13,8 @@ deps =
test,cov: {[testenv:cov]deps}
test,py{33,34,35,36,37}-{type,mypy}: colorama==0.3.7
py{33,34,35,36,37}-{type,mypy}: {[testenv:mypy]deps}
lint,pylint: {[testenv:pylint]deps}
lint,flake8: {[testenv:flake8]deps}
py{27,py,py3,33,34,35,36,37}-{lint,pylint}: {[testenv:pylint]deps}
py{27,py,py3,33,34,35,36,37}-{lint,flake8}: {[testenv:flake8]deps}
lint,vulture: {[testenv:vulture]deps}
setenv =
SSHAUDIT = {toxinidir}/ssh-audit.py
@ -25,8 +26,8 @@ commands =
test: coverage report --show-missing
test: - coverage html -d {toxinidir}/html/coverage.{envname}
py{33,34,35,36,37}-{type,mypy}: {[testenv:mypy]commands}
lint,pylint: {[testenv:pylint]commands}
lint,flake8: {[testenv:flake8]commands}
py{27,py,py3,33,34,35,36,37}-{lint,pylint}: {[testenv:pylint]commands}
py{27,py,py3,33,34,35,36,37}-{lint,flake8}: {[testenv:flake8]commands}
lint,vulture: {[testenv:vulture]commands}
ignore_outcome =
type: true