KotlinIsland / KotlinIsland/basedmypy
Figure out overloads automatically
Open
feature
topic-inference
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```py
def f(value: str, optional=False):
if value.startswith("a"):
if optional:
return None
raise ValueError
return value
```
This should find the two overloads automatically.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by reproducing the supplied Python example and determine how the checker currently handles the two behaviors; done should mean it automatically recognizes both overloads with clear expected typing results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100