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 @@ -191,7 +191,7 @@ def Info(component):
191
191
A dict with information about the component.
192
192
"""
193
193
try :
194
- from IPython .core import oinspect # pylint: disable=g-import-not-at-top
194
+ from IPython .core import oinspect # pylint: disable=import-outside-toplevel, g-import-not-at-top
195
195
inspector = oinspect .Inspector ()
196
196
info = inspector .info (component )
197
197
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 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