KotlinIsland / KotlinIsland/basedmypy

`dmypy suggest` isn't working for return types

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

Description

```py
def f(a): # dmypy suggest: (str) -> None
return 1

a: int = f("")
```

Contributor guide

Open the contributing guide

Research direction

Start with the Python reproducer in the issue and run `dmypy suggest` against it. Trace how the command handles the `dmypy suggest: (str) -> None` annotation and return type, then add or update a focused regression test. Done means the suggestion is handled correctly for this example and the test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
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.