Skip to content

Commit df0e9e7

Browse files
authored
Fix typing for traitlets 5.13 (#372)
1 parent 9a6b050 commit df0e9e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jupyter_core/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class JupyterApp(Application):
7878
def _log_level_default(self) -> int:
7979
return logging.INFO
8080

81-
jupyter_path: list[str] | List = List(Unicode())
81+
jupyter_path = List(Unicode())
8282

8383
def _jupyter_path_default(self) -> list[str]:
8484
return jupyter_path()

pyproject.toml

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

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

0 commit comments

Comments
 (0)