about summary refs log tree commit diff stats
path: root/tests/pylint
Commit message (Collapse)AuthorAgeFilesLines
* Trying to ban f-stringstoonn2022-02-051-0/+8
|
* test_py2_compat: Message was renamed to MessageTesttoonn2022-02-051-7/+7
|
* test_py2_compat: Test the new with-statement checktoonn2021-08-081-0/+26
|
* 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.
* Fix test_py2_compat formattingtoonn2020-11-111-0/+1
|
* Shortcut py2 incompatible pytest teststoonn2020-11-111-0/+11
| | | | | | Three of our pytest tests aren't compatible with python 2 by returning early from these testcases and always making them pass, we avoid false negatives in CI results.
* Apply some PEP8 love to the pylint module and teststoonn2020-07-052-20/+17
|
* Implement python 2 compatibility checkstoonn2020-07-052-0/+286
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.