-
Notifications
You must be signed in to change notification settings - Fork 487
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
Throw a warning when imports and code are mixed in a cell #714
Comments
Note: it's fine to mix in an exported cell |
@jph00 I am not sure if this is true. I have a simple notebook with #export
import os, inspect
__file = inspect.getfile(lambda: None)
ROOT_DIR = 'here' running
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now we don't have good error messages when imports & code are mixed in a cell and things can hang leaving the user confused. We should catch this and throw a warning
The text was updated successfully, but these errors were encountered: