chained-comparison / R1716#

Message emitted:

Simplify chained comparison between the operands

Description:

This message is emitted when pylint encounters boolean operation like"a < b and b < c", suggesting instead to refactor it to "a < b < c"

Correct code:

a = int(input())
b = int(input())
c = int(input())
if a < b < c:
    pass

Problematic code:

a = int(input())
b = int(input())
c = int(input())
if a < b and b < c:  # [chained-comparison]
    pass

Created by the refactoring checker.