Pylance reports "reportUnusedImport" for symbols imported in __init__.py #446
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behaviour
In my
__init__.py
file of a package I have this:I expect this not to show errors or warnings despite the symbols being unused. They are imported because they are re-exported by the package via the
__all__
variable.Actual behaviour
The import lines report a
reportUnusedImport
error.The text was updated successfully, but these errors were encountered: