Skip to content

Commit

Permalink
Update typings for mypy 1.6 (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Oct 15, 2023
1 parent 92e2f6e commit aa7b722
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyter_core/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def epilog(self, x: Any) -> None:
def argcomplete(self) -> None:
"""Trigger auto-completion, if enabled"""
try:
import argcomplete # type: ignore[import]
import argcomplete # type: ignore[import-not-found]

argcomplete.autocomplete(self)
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ nowarn = "test -W default {args}"

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

Expand Down

0 comments on commit aa7b722

Please sign in to comment.