Skip to content

Conversation

@KevinRK29
Copy link
Collaborator

This PR collects all visible names in the current scope and uses fuzzy matching to provide suggestions in the error messages

@KevinRK29 KevinRK29 marked this pull request as draft January 30, 2026 06:13
@KevinRK29 KevinRK29 requested a review from JukkaL January 30, 2026 06:14
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

manticore (https://github.com/trailofbits/manticore)
- tests/auto_generators/make_dump.py:390: error: Name "xrange" is not defined  [name-defined]
+ tests/auto_generators/make_dump.py:390: error: Name "xrange" is not defined; did you mean "range"?  [name-defined]

AutoSplit (https://github.com/Toufool/AutoSplit)
- src/utils.py:178:20: error: Name "FilterGraph" is not defined  [name-defined]
+ src/utils.py:178:20: error: Name "FilterGraph" is not defined; did you mean "filter_graph"?  [name-defined]
- src/utils.py:184:12: error: Name "COMError" is not defined  [name-defined]
+ src/utils.py:184:12: error: Name "COMError" is not defined; did you mean "IOError" or "OSError"?  [name-defined]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant