mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 21:04:29 +08:00
94 lines
1.1 KiB
Python
94 lines
1.1 KiB
Python
#: E711:7
|
|
if res == None:
|
|
pass
|
|
#: E711:7
|
|
if res != None:
|
|
pass
|
|
#: E711:8
|
|
if None == res:
|
|
pass
|
|
#: E711:8
|
|
if None != res:
|
|
pass
|
|
#: E711:10
|
|
if res[1] == None:
|
|
pass
|
|
#: E711:10
|
|
if res[1] != None:
|
|
pass
|
|
#: E711:8
|
|
if None != res[1]:
|
|
pass
|
|
#: E711:8
|
|
if None == res[1]:
|
|
pass
|
|
|
|
#
|
|
#: E712:7
|
|
if res == True:
|
|
pass
|
|
#: E712:7
|
|
if res != False:
|
|
pass
|
|
#: E712:8
|
|
if True != res:
|
|
pass
|
|
#: E712:9
|
|
if False == res:
|
|
pass
|
|
#: E712:10
|
|
if res[1] == True:
|
|
pass
|
|
#: E712:10
|
|
if res[1] != False:
|
|
pass
|
|
|
|
if x is False:
|
|
pass
|
|
|
|
#
|
|
#: E713:9
|
|
if not X in Y:
|
|
pass
|
|
#: E713:11
|
|
if not X.B in Y:
|
|
pass
|
|
#: E713:9
|
|
if not X in Y and Z == "zero":
|
|
pass
|
|
#: E713:24
|
|
if X == "zero" or not Y in Z:
|
|
pass
|
|
|
|
#
|
|
#: E714:9
|
|
if not X is Y:
|
|
pass
|
|
#: E714:11
|
|
if not X.B is Y:
|
|
pass
|
|
|
|
#
|
|
# Okay
|
|
if x not in y:
|
|
pass
|
|
|
|
if not (X in Y or X is Z):
|
|
pass
|
|
|
|
if not (X in Y):
|
|
pass
|
|
|
|
if x is not y:
|
|
pass
|
|
|
|
if TrueElement.get_element(True) == TrueElement.get_element(False):
|
|
pass
|
|
|
|
if (True) == TrueElement or x == TrueElement:
|
|
pass
|
|
|
|
assert (not foo) in bar
|
|
assert {'x': not foo} in bar
|
|
assert [42, not foo] in bar
|