Skip to content

Commit 42f6ae3

Browse files
committed
fix ignores
1 parent 537604a commit 42f6ae3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ipykernel/_eventloop_macos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def C(classname):
4343

4444
# CoreFoundation C-API calls we will use:
4545
CoreFoundation = ctypes.cdll.LoadLibrary(
46-
ctypes.util.find_library("CoreFoundation")
47-
) # type:ignore[arg-type]
46+
ctypes.util.find_library("CoreFoundation") # type:ignore[arg-type]
47+
)
4848

4949
CFAbsoluteTimeGetCurrent = CoreFoundation.CFAbsoluteTimeGetCurrent
5050
CFAbsoluteTimeGetCurrent.restype = ctypes.c_double

ipykernel/kernelapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ def init_io(self):
465465

466466
handler.stream = TextIOWrapper(
467467
FileIO(
468-
sys.stderr._original_stdstream_copy, "w"
469-
) # type:ignore[attr-defined]
468+
sys.stderr._original_stdstream_copy, "w" # type:ignore[attr-defined]
469+
)
470470
)
471471
if self.displayhook_class:
472472
displayhook_factory = import_item(str(self.displayhook_class))

ipykernel/kernelbase.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,8 +1194,8 @@ def _input_request(self, prompt, ident, parent, password=False):
11941194
# way reads get noticed immediately and KeyboardInterrupts
11951195
# get noticed fairly quickly by human response time standards.
11961196
rlist, _, xlist = zmq.select(
1197-
[self.stdin_socket], [], [self.stdin_socket], 0.01
1198-
) # type:ignore[arg-type]
1197+
[self.stdin_socket], [], [self.stdin_socket], 0.01 # type:ignore[arg-type]
1198+
)
11991199
if rlist or xlist:
12001200
ident, reply = self.session.recv(self.stdin_socket)
12011201
if (ident, reply) != (None, None):

0 commit comments

Comments
 (0)