mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Remove unused imports
This commit is contained in:
parent
395c983377
commit
925a58c0b4
@ -7,11 +7,8 @@ from tornado import web
|
||||
from ..base.handlers import IPythonHandler, notebook_path_regex
|
||||
from IPython.nbformat.current import to_notebook_json
|
||||
|
||||
from IPython.utils import tz
|
||||
from IPython.utils.py3compat import cast_bytes
|
||||
|
||||
import sys
|
||||
|
||||
def find_resource_files(output_files_dir):
|
||||
files = []
|
||||
for dirpath, dirnames, filenames in os.walk(output_files_dir):
|
||||
|
@ -21,9 +21,7 @@ import os
|
||||
from tornado import web
|
||||
|
||||
from IPython.kernel.multikernelmanager import MultiKernelManager
|
||||
from IPython.utils.traitlets import (
|
||||
Dict, List, Unicode,
|
||||
)
|
||||
from IPython.utils.traitlets import List, Unicode, TraitError
|
||||
|
||||
from IPython.html.utils import to_os_path
|
||||
from IPython.utils.py3compat import getcwd
|
||||
|
@ -1,10 +1,6 @@
|
||||
"""Test the kernels service API."""
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
|
||||
import requests
|
||||
|
||||
from IPython.html.utils import url_path_join
|
||||
|
@ -15,11 +15,9 @@ Authors:
|
||||
#-----------------------------------------------------------------------------
|
||||
# Imports
|
||||
#-----------------------------------------------------------------------------
|
||||
import os
|
||||
|
||||
from tornado import web
|
||||
from ..base.handlers import IPythonHandler, notebook_path_regex, path_regex
|
||||
from ..utils import url_path_join, path2url, url2path, url_escape, is_hidden
|
||||
from ..utils import url_path_join, url_escape
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Handlers
|
||||
|
Loading…
Reference in New Issue
Block a user