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 /reports | |
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 'reports')
0 files changed, 0 insertions, 0 deletions