Skip to content
Open
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.22
rev: v0.16.1
hooks:
- id: ruff-check
types_or: [python, jupyter]
Expand Down
2 changes: 1 addition & 1 deletion ipykernel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
kernel_protocol_version_info,
version_info,
)
from .connect import * # noqa: F403
from .connect import *
2 changes: 1 addition & 1 deletion ipykernel/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def murmur2_x86(data, seed):
return h


convert_to_long_pathname = lambda filename: filename # noqa: E731
convert_to_long_pathname = lambda filename: filename

if sys.platform == "win32":
try:
Expand Down
2 changes: 1 addition & 1 deletion ipykernel/gui/gtk3embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

gi.require_version("Gdk", "3.0")
gi.require_version("Gtk", "3.0")
from gi.repository import GObject, Gtk # noqa: E402
from gi.repository import GObject, Gtk

warnings.warn(
"The Gtk3 event loop for ipykernel is deprecated", category=DeprecationWarning, stacklevel=2
Expand Down
2 changes: 1 addition & 1 deletion ipykernel/ipkernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ async def do_execute(
should_run_async = shell.should_run_async
accepts_params = _accepts_parameters(run_cell, ["cell_id", "cell_meta"])
else:
should_run_async = lambda cell: False # noqa: ARG005, E731
should_run_async = lambda cell: False # noqa: ARG005
# older IPython,
# use blocking run_cell and wrap it in coroutine

Expand Down
2 changes: 1 addition & 1 deletion ipykernel/pylab/backend_inline.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import warnings

from matplotlib_inline.backend_inline import * # noqa: F403 # analysis: ignore
from matplotlib_inline.backend_inline import * # analysis: ignore

warnings.warn(
"`ipykernel.pylab.backend_inline` is deprecated, directly "
Expand Down
2 changes: 1 addition & 1 deletion ipykernel/pylab/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import warnings

from matplotlib_inline.config import * # noqa: F403 # analysis: ignore
from matplotlib_inline.config import * # analysis: ignore

warnings.warn(
"`ipykernel.pylab.config` is deprecated, directly use `matplotlib_inline.config`",
Expand Down
Loading