Skip to content

Continue on name-defined diagnostics provided by Mypy on autoimport#676

Merged
ccordoba12 merged 3 commits into
python-lsp:developfrom
LarsMichelsen:develop
Jul 19, 2026
Merged

Continue on name-defined diagnostics provided by Mypy on autoimport#676
ccordoba12 merged 3 commits into
python-lsp:developfrom
LarsMichelsen:develop

Conversation

@LarsMichelsen

Copy link
Copy Markdown
Contributor

Previously the autoimport code action did only act on diagnostics which message contained "undefined name". In my case this did not trigger at all so that the plugin failed to provide code actions.

This change now additionally looks at name-defined error codes provided by mypy.

Previously the autoimport code action did only act on diagnostics which
message contained "undefined name". In my case this did not trigger at
all so that the plugin failed to provide code actions.

This change now additionally looks at name-defined error codes provided
by mypy.
@ccordoba12 ccordoba12 changed the title rope_autoimport: continue on name-defined diagnostics provided by mypy Continue on name-defined diagnostics provided by Mypy on autoimport Jul 18, 2026
@ccordoba12 ccordoba12 added this to the v1.15.0 milestone Jul 18, 2026
@ccordoba12 ccordoba12 added the bug Something isn't working label Jul 19, 2026

@ccordoba12 ccordoba12 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @LarsMichelsen!

@ccordoba12
ccordoba12 merged commit b692467 into python-lsp:develop Jul 19, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants