blob: 119fd8b431e85d172a533cbeb31244d5f7ab87c1 (
plain)
1
2
3
4
5
6
|
def important_string_manipulation(x: str, y: str) -> None:
if x == "": # [use-implicit-booleaness-not-comparison-to-string]
print("x is an empty string")
if y != "": # [use-implicit-booleaness-not-comparison-to-string]
print("y is not an empty string")
|