[gnome-tweaks] cleanup: Remove unused imports



commit a664a7f5fda46956a222f5128a7cd846c7ebc3e9
Author: prakashdanish <grafitykoncept gmail com>
Date:   Sun Oct 7 19:50:27 2018 -0400

    cleanup: Remove unused imports

 gtweak/egowrapper.py  | 2 +-
 gtweak/gtksettings.py | 3 +--
 gtweak/tweakview.py   | 3 ++-
 gtweak/widgets.py     | 4 +---
 4 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/gtweak/egowrapper.py b/gtweak/egowrapper.py
index 7a60f71..9fed605 100644
--- a/gtweak/egowrapper.py
+++ b/gtweak/egowrapper.py
@@ -81,7 +81,7 @@ class ExtensionsDotGnomeDotOrg(GObject.GObject):
 
 if __name__ == "__main__":
     import pprint
-    from gi.repository import Gtk, GLib
+    from gi.repository import Gtk
 
     def _got_ext(ego, extensions):
         print("="*80)
diff --git a/gtweak/gtksettings.py b/gtweak/gtksettings.py
index ce09842..dceeb85 100644
--- a/gtweak/gtksettings.py
+++ b/gtweak/gtksettings.py
@@ -7,12 +7,11 @@ import logging
 
 from gi.repository import GLib
 
-import gtweak.utils
-
 SETTINGS_GROUP_NAME = "Settings"
 
 LOG = logging.getLogger(__name__)
 
+
 class GtkSettingsManager:
     def __init__(self, version):
         self._path = os.path.join(GLib.get_user_config_dir(),
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index ef496b1..f54b7da 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -4,11 +4,12 @@
 
 import os.path
 
-from gi.repository import Gtk, Gdk, GObject
+from gi.repository import Gtk, Gdk
 
 import gtweak.tweakmodel
 from gtweak.tweakmodel import string_for_search
 
+
 class Window(Gtk.ApplicationWindow):
 
     def __init__(self, app, model):
diff --git a/gtweak/widgets.py b/gtweak/widgets.py
index 05932c9..c8ab6f5 100644
--- a/gtweak/widgets.py
+++ b/gtweak/widgets.py
@@ -3,13 +3,11 @@
 # License-Filename: LICENSES/GPL-3.0
 
 import logging
-import os.path
 
-from gi.repository import GLib, Gtk, Gdk, Gio, Pango
+from gi.repository import GLib, Gtk, Gio, Pango
 
 from gtweak.tweakmodel import Tweak, TweakGroup
 from gtweak.gsettings import GSettingsSetting, GSettingsFakeSetting, GSettingsMissingError
-from gtweak.gtksettings import GtkSettingsManager
 from gtweak.gshellwrapper import GnomeShellFactory
 
 UI_BOX_SPACING = 4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]