Skip to content

Missing imports in VS Code #175

@felixhammerl

Description

@felixhammerl

Hi folks,

I am not sure if this is an issue that this codebase should concern itself with, but here's something strange that I have noticed when using VS Code and Pylance.

When using the from hamcrest import * preamble in my tests, VS Code spits out the following error:

Screenshot 2021-06-21 at 19 06 20

It seems that for whichever reason, Pylance fails to resolve won't resolve nested wildcard imports. When explicitly importing, the submodules, it works as expected.

from hamcrest import *
from hamcrest.core import assert_that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions