From 7fe23a1961e01be9c4d7429179f08d06017740ce 2024-09-20 04:40:55 From: Brigitta Sipőcz Date: 2024-09-20 04:40:55 Subject: [PATCH] MAINT: linter --- diff --git a/IPython/core/display.py b/IPython/core/display.py index 04d56ab..5c4557b 100644 --- a/IPython/core/display.py +++ b/IPython/core/display.py @@ -41,7 +41,11 @@ from warnings import warn def __getattr__(name): if name in _deprecated_names: - warn(f"Importing {name} from IPython.core.display is deprecated since IPython 7.14, please import from IPython.display", DeprecationWarning, stacklevel=2) + warn( + f"Importing {name} from IPython.core.display is deprecated since IPython 7.14, please import from IPython.display", + DeprecationWarning, + stacklevel=2, + ) return getattr(display_functions, name) if name in globals().keys():