Skip to content

Commit 5acbca5

Browse files
authored
Linting fixes (#1509)
1 parent b287255 commit 5acbca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipykernel/zmqshell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def clear(self, arg_s):
369369

370370
if os.name == "nt":
371371
# This is the usual name in windows
372-
cls = line_magic("cls")(clear)
372+
cls = line_magic("cls")(clear) # type: ignore[arg-type,var-annotated]
373373

374374
# Terminal pagers won't work over pexpect, but we do have our own pager
375375

@@ -390,7 +390,7 @@ def less(self, arg_s):
390390
cont = fid.read()
391391
page.page(cont)
392392

393-
more = line_magic("more")(less)
393+
more = line_magic("more")(less) # type: ignore[arg-type,var-annotated]
394394

395395
# Man calls a pager, so we also need to redefine it
396396
if os.name == "posix":

0 commit comments

Comments
 (0)