Skip to content

Commit 71b9265

Browse files
committed
pre-commit
1 parent 99d9721 commit 71b9265

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ipykernel/debugger.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,9 @@ async def handle_stopped_event(self):
358358
event = await self.stopped_queue.get()
359359
req = {"seq": event["seq"] + 1, "type": "request", "command": "threads"}
360360
rep = await self._forward_message(req)
361-
for t in rep["body"]["threads"]:
362-
if self._accept_stopped_thread(t["name"]):
363-
self.stopped_threads.add(t["id"])
361+
for thread in rep["body"]["threads"]:
362+
if self._accept_stopped_thread(thread["name"]):
363+
self.stopped_threads.add(thread["id"])
364364
self.event_callback(event)
365365

366366
@property

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,
469-
"w", # type:ignore[attr-defined]
468+
sys.stderr._original_stdstream_copy, # type:ignore[attr-defined]
469+
"w",
470470
)
471471
)
472472
if self.displayhook_class:

0 commit comments

Comments
 (0)