-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI fix typing with latest ipython #50544
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
Conversation
@@ -259,9 +259,10 @@ def enable_data_resource_formatter(enable: bool) -> None: | |||
if mimetype not in formatters: | |||
# define tableschema formatter | |||
from IPython.core.formatters import BaseFormatter | |||
from traitlets import ObjectName |
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 don't declare traitlets as a dependency as it comes from 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.
that's right!
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.
Not so familiar with traitlets, but seems like the CI is happy with this, lgtm
thx @MarcoGorelli |
#50555) Backport PR #50544: CI fix typing with latest ipython Co-authored-by: Marco Edward Gorelli <[email protected]>
closes #50543
ref
https://github.com/ipython/ipython/blob/01bc9d96e0dd50fad02d7b1e3d2e58113c617b6b/IPython/core/formatters.py#L777-L792