Expected behaviour
When a user imports an existing .ipynb file, IPython magics such as %matplotlib inline are converted to get_ipython().run_line_magic('matplotlib', 'inline'). There should be a corresponding from IPython import get_ipython import statement.
Actual behaviour
We do not currently add a from IPython import get_ipython cell on import, so the linter complains about get_ipython() being an undefined variable.
Expected behaviour
When a user imports an existing .ipynb file, IPython magics such as
%matplotlib inlineare converted toget_ipython().run_line_magic('matplotlib', 'inline'). There should be a correspondingfrom IPython import get_ipythonimport statement.Actual behaviour
We do not currently add a
from IPython import get_ipythoncell on import, so the linter complains aboutget_ipython()being an undefined variable.