KotlinIsland / KotlinIsland/basedmypy

false report of `helpful-string` on deleted variable

Open
#871 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
202
Forks
6
PR merge metrics
No merged PRs in 30d

Description

```py
a = 1

del a

print(f"{a}") # error: helpful-string
```

Contributor guide

Open the contributing guide

Research direction

Start by running the issue's Python snippet with basedmypy and confirm the `helpful-string` report after `del a`. Trace the diagnostic handling for deleted variables. Done means this example no longer produces a false `helpful-string` report.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.