-
Notifications
You must be signed in to change notification settings - Fork 181
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
migrate config at start of applications #25
Conversation
write `.jupyter/migrated` to avoid re-running migration on every start
this seems to always be what we want
# already migrated | ||
return | ||
|
||
ipdir = os.environ.get('IPYTHONDIR') or os.path.expanduser('~/.ipython') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're importing/defining get_ipython_dir
in the migrate module, should this import and use that rather than copying only the fallback logic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense. Done.
Thanks, this looks good to me now. |
migrate config at start of applications
and shouldn't be rechecked