mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-06-24 03:24:32 +02:00
Pylint and flake8 is not supported on Python 2.6.
This commit is contained in:
11
tox.ini
11
tox.ini
@ -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
|
||||
|
Reference in New Issue
Block a user