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