Skip to content

Commit aa7b722

Browse files
authored
Update typings for mypy 1.6 (#368)
1 parent 92e2f6e commit aa7b722

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jupyter_core/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def epilog(self, x: Any) -> None:
4242
def argcomplete(self) -> None:
4343
"""Trigger auto-completion, if enabled"""
4444
try:
45-
import argcomplete # type: ignore[import]
45+
import argcomplete # type: ignore[import-not-found]
4646

4747
argcomplete.autocomplete(self)
4848
except ImportError:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ nowarn = "test -W default {args}"
8888

8989
[tool.hatch.envs.typing]
9090
features = ["test"]
91-
dependencies = ["mypy>=1.5.1", "traitlets>=5.11.2"]
91+
dependencies = ["mypy~=1.6.0", "traitlets>=5.11.2"]
9292
[tool.hatch.envs.typing.scripts]
9393
test = "mypy --install-types --non-interactive {args}"
9494

0 commit comments

Comments
 (0)