KotlinIsland / KotlinIsland/basedmypy
false positive helpful-string
Open
bug
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```py
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
```
Contributor guide
Research direction
Start with the Python reproducer in the issue and locate the diagnostic that reports a non-helpful string for the nested f-string. Confirm the warning is a false positive for this user-facing or semantic string, then run the relevant checker tests and add coverage showing this example is accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100