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

Support an implicit-reexport that only reexports things in __init__.py files #11527

Closed
KotlinIsland opened this issue Nov 11, 2021 · 2 comments
Closed
Labels
feature topic-implicit-reexport The --no-implicit-reexport option

Comments

@KotlinIsland
Copy link
Contributor

KotlinIsland commented Nov 11, 2021

Feature

implicit_reexport = false is a based one imo, but it's very idiomatic to reexport everything in __init__.py files.

Pitch
What about:
implicit_reexport = "init"

@KotlinIsland KotlinIsland changed the title Support an implicit-reexport that only allows reexports in __init__.py files Support an implicit-reexport that only reexports things in __init__.py files Nov 11, 2021
@JelleZijlstra JelleZijlstra added the topic-implicit-reexport The --no-implicit-reexport option label Mar 21, 2022
@mikeroll
Copy link

Looks like a duplicate of #10198

@AlexWaygood
Copy link
Member

Looks like a duplicate of #10198

Yup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature topic-implicit-reexport The --no-implicit-reexport option
Projects
None yet
Development

No branches or pull requests

4 participants