Skip to content

Commit

Permalink
Fix typing for traitlets 5.13 (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Oct 30, 2023
1 parent 9a6b050 commit df0e9e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyter_core/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class JupyterApp(Application):
def _log_level_default(self) -> int:
return logging.INFO

jupyter_path: list[str] | List = List(Unicode())
jupyter_path = List(Unicode())

def _jupyter_path_default(self) -> list[str]:
return jupyter_path()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ nowarn = "test -W default {args}"

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

Expand Down

0 comments on commit df0e9e7

Please sign in to comment.