Skip to content

Commit

Permalink
Update typings for mypy 1.6 (#132)
Browse files Browse the repository at this point in the history
update typings
  • Loading branch information
blink1073 committed Oct 15, 2023
1 parent c43481b commit 964ce67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hatch_jupyter_builder/migrate/jupyter_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
__this_shim = sys.modules.pop("jupyter_packaging")
__current_directory = sys.path.pop(0)

import jupyter_packaging as __real_jupyter_packaging # type:ignore[import]
import jupyter_packaging as __real_jupyter_packaging # type:ignore[import-not-found]

sys.path.insert(0, __current_directory)
sys.modules["jupyter_packaging"] = __this_shim
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ test = "python -m pytest -n auto -vv --migration-tests True"

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

Expand Down

0 comments on commit 964ce67

Please sign in to comment.