pylint-bot / pylint-unofficial

UNOFFICIAL playground for pylint github migration
0 stars 0 forks source link

unneeded-not false positive for multiple comparisons #703

Closed pylint-bot closed 8 years ago

pylint-bot commented 8 years ago

Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore)


Given not (first <= lineno <= last), the unneeded-not checker recommends to change this to "first > lineno", which is not the same thing.