##// END OF EJS Templates
Remove unused imports in IPython.qt
Thomas Kluyver -
Show More
@@ -9,7 +9,7 b' from collections import namedtuple'
9 9 import re
10 10
11 11 # System library imports
12 from IPython.external.qt import QtCore, QtGui
12 from IPython.external.qt import QtGui
13 13
14 14 #-----------------------------------------------------------------------------
15 15 # Constants and datatypes
@@ -3,7 +3,6 b' from __future__ import print_function'
3 3 # Standard library imports
4 4 from collections import namedtuple
5 5 import sys
6 import time
7 6 import uuid
8 7
9 8 # System library imports
@@ -54,20 +54,17 b" if os.name == 'nt':"
54 54 from IPython.external.qt import QtCore, QtGui
55 55
56 56 # Local imports
57 from IPython.config.application import boolean_flag, catch_config_error
57 from IPython.config.application import catch_config_error
58 58 from IPython.core.application import BaseIPythonApplication
59 from IPython.core.profiledir import ProfileDir
60 59 from IPython.qt.console.ipython_widget import IPythonWidget
61 60 from IPython.qt.console.rich_ipython_widget import RichIPythonWidget
62 61 from IPython.qt.console import styles
63 62 from IPython.qt.console.mainwindow import MainWindow
64 63 from IPython.qt.client import QtKernelClient
65 64 from IPython.qt.manager import QtKernelManager
66 from IPython.kernel import tunnel_to_kernel, find_connection_file
67 65 from IPython.utils.traitlets import (
68 Dict, List, Unicode, CBool, Any
66 Dict, Unicode, CBool, Any
69 67 )
70 from IPython.kernel.zmq.session import default_secure
71 68
72 69 from IPython.consoleapp import (
73 70 IPythonConsoleApp, app_aliases, app_flags, flags, aliases
@@ -2,7 +2,7 b''
2 2 import unittest
3 3
4 4 # System library imports
5 from IPython.external.qt import QtCore, QtGui
5 from IPython.external.qt import QtGui
6 6
7 7 # Local imports
8 8 from IPython.qt.console.kill_ring import KillRing, QtKillRing
@@ -4,7 +4,7 b''
4 4 from IPython.external.qt import QtCore
5 5
6 6 # Local imports
7 from IPython.utils.traitlets import Bool, Instance
7 from IPython.utils.traitlets import Bool
8 8
9 9 from IPython.kernel import KernelManager
10 10 from IPython.kernel.restarter import KernelRestarter
General Comments 0
You need to be logged in to leave comments. Login now