We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8970d9b commit 35cc540Copy full SHA for 35cc540
tests/test_tutorials.py
@@ -4,13 +4,14 @@
4
5
import nbformat
6
import pytest
7
-from nbclient import NotebookClient
8
-from nbclient.exceptions import CellExecutionError
9
10
# Ensure Jupyter uses the new platformdirs paths to avoid DeprecationWarning
11
# This will become the default in `jupyter_core` v6
12
os.environ.setdefault("JUPYTER_PLATFORM_DIRS", "1")
13
+from nbclient import NotebookClient # noqa: E402
+from nbclient.exceptions import CellExecutionError # noqa: E402
14
+
15
16
def _find_tutorial_notebooks():
17
"""Return a sorted list of notebook Paths under doc/tutorials.
0 commit comments