basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

false positive helpful-string

Open KotlinIsland opened this issue 1 year ago • 0 comments

def f[T, T2](t: T, t2: T2) -> T | T2:
    return t


print(f"{f("", "")}")  # The string for "object" isn't helpful in a user-facing or semantic string

KotlinIsland avatar Sep 24 '24 00:09 KotlinIsland