mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:47 +00:00
40 lines
661 B
Python
40 lines
661 B
Python
#: E713
|
|
if not X in Y:
|
|
pass
|
|
#: E713
|
|
if not X.B in Y:
|
|
pass
|
|
#: E713
|
|
if not X in Y and Z == "zero":
|
|
pass
|
|
#: E713
|
|
if X == "zero" or not Y in Z:
|
|
pass
|
|
#: E713
|
|
if not (X in Y):
|
|
pass
|
|
|
|
#: Okay
|
|
if x not in y:
|
|
pass
|
|
|
|
if not (X in Y or X is Z):
|
|
pass
|
|
|
|
if x is not y:
|
|
pass
|
|
|
|
if X is not Y is not Z:
|
|
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
|
|
assert not (re.search(r"^.:\\Users\\[^\\]*\\Downloads\\.*") is None)
|
|
assert not('name' in request)or not request['name']
|