KotlinIsland / KotlinIsland/basedmypy

warn on redundant `str` of something

Open
#672 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.