about summary refs log tree commit diff stats
path: root/tests/pylint/py2_compat.py
Commit message (Collapse)AuthorAgeFilesLines
* py2_compat: Fix formatting for PEP8toonn2021-08-081-3/+3
|
* py2_compat: Added check for with Popentoonn2021-08-081-1/+19
| | | | | Popen objects became context managers after Python 3.2 so we can't use them as such without a wrapper.
* Apply some PEP8 love to the pylint module and teststoonn2020-07-051-19/+15
|
* Implement python 2 compatibility checkstoonn2020-07-051-0/+130
We have been stuck on pylint <2 for a long time now because it dropped some of the python 2 lints we rely on. We maintain compatibility with python 2.6+ and 3.5+ and a lack of lints makes especially the former much harder. Incompatibilities had already snuck in in the form of implicit format specs. By implementing a custom checker we can make sure this doesn't happen again.