File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 32
32
class NotebookBaseHandler (ExtensionHandlerJinjaMixin , ExtensionHandlerMixin , JupyterHandler ):
33
33
"""The base notebook API handler."""
34
34
35
- def get_page_config (self ): # noqa:C901
35
+ def get_page_config (self ):
36
36
"""Get the page config."""
37
37
config = LabConfig ()
38
38
app = self .extensionapp
Original file line number Diff line number Diff line change 5
5
import jupyterlab
6
6
7
7
c : Any
8
- c .ServerApp .port = 8888 # noqa
9
- c .ServerApp .port_retries = 0 # noqa
10
- c .ServerApp .open_browser = False # noqa
8
+ c .ServerApp .port = 8888
9
+ c .ServerApp .port_retries = 0
10
+ c .ServerApp .open_browser = False
11
11
12
- c .ServerApp .root_dir = mkdtemp (prefix = "galata-test-" ) # noqa
13
- c .ServerApp .token = "" # noqa
14
- c .ServerApp .password = "" # noqa
15
- c .ServerApp .disable_check_xsrf = True # noqa
12
+ c .ServerApp .root_dir = mkdtemp (prefix = "galata-test-" )
13
+ c .ServerApp .token = ""
14
+ c .ServerApp .password = ""
15
+ c .ServerApp .disable_check_xsrf = True
16
16
17
- c .JupyterNotebookApp .expose_app_in_browser = True # noqa
17
+ c .JupyterNotebookApp .expose_app_in_browser = True
18
18
c .LabServerApp .extra_labextensions_path = str (Path (jupyterlab .__file__ ).parent / "galata" )
You can’t perform that action at this time.
0 commit comments