summaryrefslogtreecommitdiffstats
path: root/testsuite/ext/pylint_compat.py
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Bump pylint version for Python3Alexander Sulfrian2017-08-171-1/+6
|
* testsuite: Support for ancient pylint versionsAlexander Sulfrian2017-03-291-0/+275
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.