Skip to content

Commit 7cee158

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9d8136a commit 7cee158

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

notebook/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
class NotebookBaseHandler(ExtensionHandlerJinjaMixin, ExtensionHandlerMixin, JupyterHandler):
3333
"""The base notebook API handler."""
3434

35-
def get_page_config(self): # noqa:C901
35+
def get_page_config(self):
3636
"""Get the page config."""
3737
config = LabConfig()
3838
app = self.extensionapp

ui-tests/test/jupyter_server_config.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
import jupyterlab
66

77
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
1111

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
1616

17-
c.JupyterNotebookApp.expose_app_in_browser = True # noqa
17+
c.JupyterNotebookApp.expose_app_in_browser = True
1818
c.LabServerApp.extra_labextensions_path = str(Path(jupyterlab.__file__).parent / "galata")

0 commit comments

Comments
 (0)