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

Move code out of __init__ files #102

Open
vancauwe opened this issue Nov 23, 2023 · 0 comments
Open

Move code out of __init__ files #102

vancauwe opened this issue Nov 23, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request invalid This doesn't seem right

Comments

@vancauwe
Copy link
Contributor

Currently, __init__ files are used to avoid depth in module loading, hence contain entire class definitions and other components. Having them under init files reduced the readability of the code and could be improved.

A PR needs to work on balancing depth and readability of code, with the end goal of avoiding chained imports and removing code from init files.

@vancauwe vancauwe added enhancement New feature or request invalid This doesn't seem right labels Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants