diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-24 10:12:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 10:12:01 +0100 |
commit | e8fa46928d91893723a9a038fde2d274d535fd1f (patch) | |
tree | 9a8803b19061fe5d244f6fd34348bf9f838a0ed4 /tests/primer/test_primer_stdlib.py | |
parent | e3a1e359704a48d8bbe8ce00e54f4ddfebcf620e (diff) | |
download | pylint-git-e8fa46928d91893723a9a038fde2d274d535fd1f.tar.gz |
Fix a crash on psycopg2 for elif used (#5369)
* Fix a crash in the ``check_elif`` extensions where an undetected if in a comprehension
with an if statement within a f-string resulted in an out of range error. The checker no
longer relies on counting if statements anymore and uses known if statements locations instead.
It should not crash on badly parsed if statements anymore. specify the confidence of the message
* Remove disable for else-if-used in pylint/checkers/classes.py
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'tests/primer/test_primer_stdlib.py')
0 files changed, 0 insertions, 0 deletions