Skip to content

Commit f3dd8ff

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 95b26f0 commit f3dd8ff

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

nbclient/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ class NotebookClient(LoggingConfigurable):
288288
""",
289289
).tag(config=True)
290290

291-
kernel_manager_class = Type(config=True, klass=KernelManager, help='The kernel manager class to use.')
291+
kernel_manager_class = Type(
292+
config=True, klass=KernelManager, help='The kernel manager class to use.'
293+
)
292294

293295
on_notebook_start: t.Optional[t.Callable] = Callable(
294296
default_value=None,

nbclient/tests/test_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,10 @@ def test_mock_wrapper(self):
211211
cell_mock = NotebookNode(
212212
source='"foo" = "bar"', metadata={}, cell_type='code', outputs=[]
213213
)
214+
214215
class NotebookClientWithParentID(NotebookClient):
215216
parent_id: str
217+
216218
executor = NotebookClientWithParentID({}) # type:ignore
217219
executor.nb = {'cells': [cell_mock]} # type:ignore
218220

0 commit comments

Comments
 (0)