Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify exports in __all__ to prevent pyright errors #20

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

CNSeniorious000
Copy link
Contributor

I used pure_eval in one of my projects, which uses pyright for type checking. But it seems if a module has a py.typed file in its root, pyright will only uses its __all__ for exports, instead of infering.

This PR simply adds a __all__ entry to fix this. May we can have a -post release for this? Thanks!

@alexmojaki alexmojaki merged commit 581eaa3 into alexmojaki:master Jul 21, 2024
14 checks passed
@alexmojaki
Copy link
Owner

Thanks! Released in 0.2.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants