KotlinIsland / KotlinIsland/basedmypy
warn on redundant `str` of something
Open
feature
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```py
a: str
b = str(a) # erm, that's redundant
```
Contributor guide
Research direction
The issue provides only a Python example and no file or test location. Start by locating the checker entry point and existing diagnostics for redundant expressions, then inspect nearby tests. Done means the annotated `str` value produces a warning for the redundant conversion, with coverage for the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100