diff --git a/py-polars/polars/utils/udfs.py b/py-polars/polars/utils/udfs.py index 77093aeeb7d1..cefbb930d16a 100644 --- a/py-polars/polars/utils/udfs.py +++ b/py-polars/polars/utils/udfs.py @@ -35,7 +35,7 @@ class StackValue(NamedTuple): _MIN_PY311 = sys.version_info >= (3, 11) try: - get_ipython # type: ignore[name-defined] + get_ipython # type: ignore[name-defined] # noqa: B018 except NameError: _IN_IPYTHON = False else: