Closed marscher closed 1 year ago
For instance a cell containing:
display(obj)
will report: F821 Undefined name display
display
for tools like Ruff and Flake8.
I wonder how I can workaround this or if we even need to consider to transform the code to include implicit imports by the notebook?
hi @marscher , thanks for your report
you can import it explicitly:
from IPython.display import display
Indeed. That was too simple. Sorry for wasting your time.
For instance a cell containing:
will report: F821 Undefined name
display
for tools like Ruff and Flake8.
I wonder how I can workaround this or if we even need to consider to transform the code to include implicit imports by the notebook?