Make isort happy

This commit is contained in:
juhasch
2017-09-17 09:16:50 +02:00
parent c200197472
commit 1d0d69fc20
5 changed files with 8 additions and 5 deletions
@@ -6,6 +6,7 @@ import os
from notebook.services.config import ConfigManager from notebook.services.config import ConfigManager
from jupyter_contrib_nbextensions import __file__ as contrib_init from jupyter_contrib_nbextensions import __file__ as contrib_init
from .exporter_inliner import ExporterInliner from .exporter_inliner import ExporterInliner
@@ -1,10 +1,11 @@
"""Embed graphics into HTML Exporter class""" """Embed graphics into HTML Exporter class"""
import base64 import base64
import re
from nbconvert.exporters.html import HTMLExporter
from ipython_genutils.ipstruct import Struct
import os import os
import re
from ipython_genutils.ipstruct import Struct
from nbconvert.exporters.html import HTMLExporter
try: try:
from urllib.request import urlopen # py3 from urllib.request import urlopen # py3
@@ -14,6 +14,7 @@
from nbconvert.exporters.html import HTMLExporter from nbconvert.exporters.html import HTMLExporter
from traitlets.config import Config from traitlets.config import Config
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Classes # Classes
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
+1 -1
View File
@@ -3,8 +3,8 @@
import io import io
import os import os
from functools import wraps from functools import wraps
from nbconvert.tests.base import TestsBase from nbconvert.tests.base import TestsBase
from nbformat import v4, write from nbformat import v4, write
+1 -1
View File
@@ -63,7 +63,7 @@ deps =
flake8 flake8
isort isort
commands = commands =
flake8 src tests setup.py flake8 --max-line-length=120 src tests setup.py
isort --verbose --check-only --diff --recursive src tests setup.py isort --verbose --check-only --diff --recursive src tests setup.py
[testenv:docs] [testenv:docs]