Skip to content

Commit

Permalink
Clean up import
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Dec 22, 2023
1 parent 0e11f99 commit 3a3c290
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions nbconvert/preprocessors/execute.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.

"""Module containing a preprocessor that executes the code cells
and updates outputs"""
from __future__ import annotations
Expand All @@ -7,11 +10,9 @@
from jupyter_client.manager import KernelManager
from nbclient.client import NotebookClient
from nbclient.client import execute as _execute
from nbclient.exceptions import CellExecutionError # noqa: F401

# Backwards compatibility for imported name
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from nbclient.exceptions import CellExecutionError # noqa: F401
from nbformat import NotebookNode

from .base import Preprocessor
Expand Down

0 comments on commit 3a3c290

Please sign in to comment.