File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ def Info(component):
195
195
A dict with information about the component.
196
196
"""
197
197
try :
198
- from IPython .core import oinspect # pylint: disable=g-import-not-at-top
198
+ from IPython .core import oinspect # pylint: disable=import-outside-toplevel, g-import-not-at-top
199
199
inspector = oinspect .Inspector ()
200
200
info = inspector .info (component )
201
201
Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ def _EmbedIPython(variables, argv=None):
89
89
Values are variable values.
90
90
argv: The argv to use for starting ipython. Defaults to an empty list.
91
91
"""
92
- import IPython # pylint: disable=g-import-not-at-top
92
+ import IPython # pylint: disable=import-outside-toplevel, g-import-not-at-top
93
93
argv = argv or []
94
94
IPython .start_ipython (argv = argv , user_ns = variables )
95
95
96
96
97
97
def _EmbedCode (variables ):
98
- import code # pylint: disable=g-import-not-at-top
98
+ import
37A8
code # pylint: disable=import-outside-toplevel, g-import-not-at-top
99
99
code .InteractiveConsole (variables ).interact ()
You can’t perform that action at this time.
0 commit comments