diff --git a/ipykernel/kernelspec.py b/ipykernel/kernelspec.py index 6404c2a1..414b1d95 100644 --- a/ipykernel/kernelspec.py +++ b/ipykernel/kernelspec.py @@ -165,7 +165,7 @@ def install( ) # cleanup afterward shutil.rmtree(path) - return dest # type:ignore[no-any-return] + return dest # Entrypoint diff --git a/pyproject.toml b/pyproject.toml index 8f9ac894..56480362 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -112,7 +112,7 @@ matrix.qt.features = [ [tool.hatch.envs.typing] features = ["test"] -dependencies = ["mypy>=1.6.0", "traitlets>=5.11.2", "ipython>=8.16.1"] +dependencies = ["mypy>=1.6.0", "traitlets>=5.12.0", "ipython>=8.16.1", "jupyter_client>=8.5"] [tool.hatch.envs.typing.scripts] test = "mypy --install-types --non-interactive {args}"