Skip to content

Fix traitlets.__all__#933

Merged
minrk merged 1 commit intoipython:mainfrom
kylebarron:kyle/fix-pylance-typing-errors-import-2
Feb 17, 2026
Merged

Fix traitlets.__all__#933
minrk merged 1 commit intoipython:mainfrom
kylebarron:kyle/fix-pylance-typing-errors-import-2

Conversation

@kylebarron
Copy link
Contributor

Currently all imports from traitlets.traitlets raise a pylance typing error when imported from global scope:

image

You need to re-export the underlying __all__ through the top level to fix these errors.

@minrk minrk changed the title Fix pylance typing errors Fix traitlets.__all__ Feb 17, 2026
@minrk minrk added the bug label Feb 17, 2026
@minrk minrk enabled auto-merge (squash) February 17, 2026 20:50
@minrk minrk disabled auto-merge February 17, 2026 20:50
@minrk minrk merged commit 1ae9579 into ipython:main Feb 17, 2026
33 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants