Skip to content

Commit

Permalink
Clean up some unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Oct 31, 2018
1 parent 90f9e68 commit f6e7cfd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions notebook/base/zmqhandlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

import os
import json
import struct
import warnings
import sys

try:
Expand Down
2 changes: 0 additions & 2 deletions notebook/services/kernels/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

from functools import partial
import json
import logging
from textwrap import dedent
Expand All @@ -23,7 +22,6 @@
from ...base.handlers import APIHandler
from ...base.zmqhandlers import AuthenticatedZMQStreamHandler, deserialize_binary_message

from jupyter_client import protocol_version as client_protocol_version

class MainKernelHandler(APIHandler):

Expand Down
4 changes: 1 addition & 3 deletions notebook/services/kernels/kernelmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@

from collections import defaultdict
from datetime import datetime, timedelta
from functools import partial
import os
import uuid

from tornado import gen, web
from tornado.concurrent import Future
from tornado.ioloop import IOLoop, PeriodicCallback

from jupyter_kernel_mgmt.client import IOLoopKernelClient
from jupyter_kernel_mgmt.restarter import TornadoKernelRestarter
from traitlets import (Any, Bool, Dict, List, Unicode, TraitError, Integer,
from traitlets import (Any, Bool, Dict, Unicode, TraitError, Integer,
Float, Instance, default, validate
)
from traitlets.config.configurable import LoggingConfigurable
Expand Down

0 comments on commit f6e7cfd

Please sign in to comment.