pyrefly icon indicating copy to clipboard operation
pyrefly copied to clipboard

[Bug] No error on missing `__all__` implementation

Open kinto0 opened this issue 8 months ago • 0 comments

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.

kinto0 avatar May 15 '25 13:05 kinto0