blob: 0907dcb8b087bd95f19e95599147166c8bfeeef5 [file] [log] [blame]
singleton-comparison:4:4::Comparison 'x == None' should be 'x is None'
singleton-comparison:5:4::Comparison 'x == True' should be 'x is True' if checking for the singleton value True, or 'bool(x)' if testing for truthiness
singleton-comparison:6:4::Comparison 'x == False' should be 'x is False' if checking for the singleton value False, or 'not x' if testing for falsiness
singleton-comparison:7:4::Comparison 'True == True' should be 'True is True' if checking for the singleton value True, or 'bool(True)' if testing for truthiness
singleton-comparison:11:4::Comparison 'None == x' should be 'None is x'
singleton-comparison:13:4::Comparison 'x != True' should be 'x is not True' if checking for the singleton value True, or 'not x' if testing for falsiness
singleton-comparison:14:5::Comparison 'x != False' should be 'x is not False' if checking for the singleton value False, or 'bool(x)' if testing for truthiness
singleton-comparison:15:5::Comparison 'x != None' should be 'x is not None'
singleton-comparison:16:7::Comparison 'x == True' should be 'x is True' if checking for the singleton value True, or 'x' if testing for truthiness
singleton-comparison:17:7::Comparison 'x != False' should be 'x is not False' if checking for the singleton value False, or 'x' if testing for truthiness
singleton-comparison:18:3::Comparison 'x == True' should be 'x is True' if checking for the singleton value True, or 'x' if testing for truthiness
singleton-comparison:20:9::Comparison 'x == True' should be 'x is True' if checking for the singleton value True, or 'x' if testing for truthiness