From bbec231ed130c73d75a7c159d67a4f764cb4f6c5 Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Tue, 10 Mar 2026 14:32:13 +0000 Subject: [PATCH] Linting fixes --- ipykernel/zmqshell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipykernel/zmqshell.py b/ipykernel/zmqshell.py index bd3f8ef41..0833432bf 100644 --- a/ipykernel/zmqshell.py +++ b/ipykernel/zmqshell.py @@ -369,7 +369,7 @@ def clear(self, arg_s): if os.name == "nt": # This is the usual name in windows - cls = line_magic("cls")(clear) + cls = line_magic("cls")(clear) # type: ignore[arg-type,var-annotated] # Terminal pagers won't work over pexpect, but we do have our own pager @@ -390,7 +390,7 @@ def less(self, arg_s): cont = fid.read() page.page(cont) - more = line_magic("more")(less) + more = line_magic("more")(less) # type: ignore[arg-type,var-annotated] # Man calls a pager, so we also need to redefine it if os.name == "posix":