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

[FEATURE_REQUEST]: Support for code imports from non hook files #76

Open
miguelaeh opened this issue Nov 17, 2023 · 1 comment
Open

Comments

@miguelaeh
Copy link
Collaborator

We are loading the user code per hook file. This does not allow the user to split the code of a hook into multiple files.
It is a common and desired practice to separate utils functions from the "main" logic of the hook for readability, so we must support it.

@miguelaeh miguelaeh changed the title [FEATURE_REQUEST]: Support splitting Python code in several files [FEATURE_REQUEST]: Support for code imports from other local files Nov 20, 2023
@miguelaeh miguelaeh changed the title [FEATURE_REQUEST]: Support for code imports from other local files [FEATURE_REQUEST]: Support for code imports from non hook files Nov 20, 2023
@miguelaeh
Copy link
Collaborator Author

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

No branches or pull requests

1 participant