Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.31.1
rev: 0.31.2
hooks:
- id: check-github-workflows

Expand Down Expand Up @@ -74,7 +74,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.0
rev: v0.9.7
hooks:
- id: ruff
types_or: [python, jupyter]
Expand All @@ -83,7 +83,7 @@ repos:
types_or: [python, jupyter]

- repo: https://github.com/scientific-python/cookie
rev: "2024.01.24"
rev: "2025.01.22"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
1 change: 1 addition & 0 deletions ipykernel/_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
store the current version info of the server.
"""

from __future__ import annotations

import re
Expand Down
1 change: 0 additions & 1 deletion ipykernel/inprocess/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# Imports
# -----------------------------------------------------------------------------


from typing import Any, Optional

from jupyter_client.client import KernelClient
Expand Down
6 changes: 3 additions & 3 deletions ipykernel/ipkernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,9 @@ def run_closure(self: threading.Thread):
for stream in [stdout, stderr]:
if isinstance(stream, OutStream):
if parent == kernel_thread_ident:
stream._thread_to_parent_header[
self.ident
] = kernel._new_threads_parent_header
stream._thread_to_parent_header[self.ident] = (
kernel._new_threads_parent_header
)
else:
stream._thread_to_parent[self.ident] = parent
_threading_Thread_run(self)
Expand Down
Loading