Skip to content

Commit c4b181a

Browse files
authored
Fix typings (#7104)
1 parent 9fa4a2c commit c4b181a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

notebook/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from jupyter_server.serverapp import flags
1818
from jupyter_server.utils import url_escape, url_is_absolute
1919
from jupyter_server.utils import url_path_join as ujoin
20-
from jupyterlab.commands import ( # type:ignore[import]
20+
from jupyterlab.commands import ( # type:ignore[import-untyped]
2121
get_app_dir,
2222
get_user_settings_dir,
2323
get_workspaces_dir,
@@ -29,7 +29,7 @@
2929
recursive_update,
3030
)
3131
from jupyterlab_server.handlers import _camelCase, is_url
32-
from notebook_shim.shim import NotebookConfigShimMixin # type:ignore[import]
32+
from notebook_shim.shim import NotebookConfigShimMixin # type:ignore[import-untyped]
3333
from tornado import web
3434
from traitlets import Bool, Unicode, default
3535
from traitlets.config.loader import Config
@@ -50,7 +50,7 @@ class NotebookBaseHandler(ExtensionHandlerJinjaMixin, ExtensionHandlerMixin, Jup
5050
"""The base notebook API handler."""
5151

5252
@property
53-
def custom_css(self) -> bool:
53+
def custom_css(self) -> t.Any:
5454
return self.settings.get("custom_css", True)
5555

5656
def get_page_config(self) -> dict[str, t.Any]:

0 commit comments

Comments
 (0)