diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2015-07-28 17:55:17 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2017-03-29 13:29:59 +0200 |
commit | 2e3ac3bd311ecf4d26032cd029dcc5e92170fe7f (patch) | |
tree | 15fb9398655a37ce0d16a41acb4a5b08ce2ddffa /testsuite/pylintrc.conf | |
parent | 97a113956f8211a2e718afe98a623cafebc03922 (diff) | |
download | bcfg2-2e3ac3bd311ecf4d26032cd029dcc5e92170fe7f.tar.gz bcfg2-2e3ac3bd311ecf4d26032cd029dcc5e92170fe7f.tar.bz2 bcfg2-2e3ac3bd311ecf4d26032cd029dcc5e92170fe7f.zip |
testsuite: Support for ancient pylint versions
For Python2.4 and Python2.5 we need very old pylint versions (0.21.x). So
we have to work around some bugs:
- This adds some ugly monkey patching to backport some bugfixes from newer
pylint versions (that does not support Python2.4 anymore).
- Another problem is, that pylint-0.24 changed its message IDs. So this
translates the new IDs into the older ones, so that the old pylint can
match the disabled messages.
- The newer version of pylint support more messages and some of the new
messages have to be disabled. The old pylint versions have to silently
ignore unknown message ids.
- The compatible astng version of the old pylint does not support
register_transformer, so we need to build out own variant by monkey
patching the ASTNGBuilder.
Diffstat (limited to 'testsuite/pylintrc.conf')
-rw-r--r-- | testsuite/pylintrc.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/pylintrc.conf b/testsuite/pylintrc.conf index 50ece77db..ce7e407df 100644 --- a/testsuite/pylintrc.conf +++ b/testsuite/pylintrc.conf @@ -19,7 +19,7 @@ persistent=no # List of plugins (as comma separated values of python modules names) to load, # usually to register additional checkers. -load-plugins=ext.exception_messages,ext.ssl_protocols +load-plugins=ext.exception_messages,ext.ssl_protocols,ext.pylint_compat [MESSAGES CONTROL] |