Skip to content

[Bug] No error on missing __all__ implementation #204

@kinto0

Description

@kinto0

Pyright errors in the following module:

__all__ = ["test"] # E: "test" is specified in __all__ but is not present in module  (reportUnsupportedDunderAll)

but not if you add test:

__all__ = ["test"]
test = 5

Pyrefly should implement this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions