idea: maybe heuristic based function/method signature
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 516
- PR merge metrics
- No merged PRs in 30d
Description
it's a bit common in old libraries.
like in flask
```py
def create_environ(*args: t.Any, **kwargs: t.Any) -> WSGIEnvironment:
```
this tells nothing, but
```py
builder = EnvironBuilder(*args, **kwargs)
try:
return builder.get_environ()
finally:
builder.close()
```
The body shows all the signatures.
Contributor guide
Research direction
Start by examining how Pyrefly currently represents and reports Python function and method signatures, then compare that behavior with the Flask examples in the issue. Define the heuristic and its expected output before identifying the relevant implementation and tests; done means signatures expose useful information from the function body without relying only on *args and **kwargs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100