Skip to content

Commit c4b75ee

Browse files
committed
Make isort happy
1 parent 019772c commit c4b75ee

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/jupyter_contrib_nbextensions/nbconvert_support/pre_embedimages.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
"""Nbconvert preprocessor for the python-markdown nbextension."""
22

3-
from nbconvert.preprocessors import Preprocessor
4-
from traitlets import Bool, Unicode
5-
import re
6-
import os
73
import base64
4+
import os
5+
import re
6+
87
from ipython_genutils.ipstruct import Struct
8+
from nbconvert.preprocessors import Preprocessor
9+
from traitlets import Bool, Unicode
910

1011
try:
1112
from urllib.request import urlopen # py3
@@ -126,7 +127,7 @@ def preprocess_cell(self, cell, resources, index):
126127
resources : dictionary
127128
Additional resources used in the conversion process. Allows
128129
preprocessors to pass variables into the Jinja engine.
129-
cell_index : int
130+
index : int
130131
Index of the cell being processed (see base.py)
131132
"""
132133
self.path = resources['metadata']['path']

tests/test_preprocessors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44

55
import nbformat.v4 as nbf
6-
from nbconvert import LatexExporter, RSTExporter, NotebookExporter
6+
from nbconvert import LatexExporter, NotebookExporter, RSTExporter
77
from nbconvert.utils.pandoc import PandocMissing
88
from nose.plugins.skip import SkipTest
99
from nose.tools import assert_in, assert_not_in, assert_true

0 commit comments

Comments
 (0)