diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = docs,docs-linkcheck,py27,yamllint +envlist = docs,docs-linkcheck,py27,yamllint,pylint skipsdist = True [testenv] @@ -41,3 +41,18 @@ files = sfc/tests/functest commands = yamllint -s {[testenv:yamllint]files} + +[testenv:pylint] +basepython = python2.7 +commands = pylint --rcfile=tox.ini sfc + +# pylintrc +[MESSAGES CONTROL] +disable=all + +enable=F,E,unreachable,duplicate-key,unnecessary-semicolon, + global-variable-not-assigned,unused-variable,binary-op-exception, + bad-format-string,anomalous-backslash-in-string,bad-open-mode + +[TYPECHECK] +ignored-classes=Connection |