Skip to content

freezegun and packages with inlined types do not autocomplete #508

@andg-odoo

Description

@andg-odoo

Your setup
Version: 1.1.2
Operating System: Ubuntu 24.04
IDE and/or Integration tool (for example: Vscode - official extension): Neovim 0.12

Describe the bug
Packages that don't have their typing within the typeshed module don't have import autocomplete.

This is because freezegun and other packages are removed from python/typeshed#5842 when the package added it's own stubs.

Expected behavior
For python packages that contains inlined stubs, is it possible to directly detect them? Or do we have to go and put each folder from the python environment in the additional_stubs key of the config.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions