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

Add the hook file's directory to sys.path #3568

Merged
merged 2 commits into from Mar 16, 2024
Merged

Add the hook file's directory to sys.path #3568

merged 2 commits into from Mar 16, 2024

Conversation

oprypin
Copy link
Contributor

@oprypin oprypin commented Feb 11, 2024

Also clean sys.path after the hook is done, for some semblance of isolation

Closes #3281

Also clean sys.path after the hook is done, for some semblance of isolation
@oprypin oprypin merged commit a793da2 into master Mar 16, 2024
34 checks passed
@oprypin oprypin deleted the imp branch March 16, 2024 15:05
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.

Hooks scripts can't really use imports
1 participant