From 7b4bbd7c2be446a41403ac60e02c8be19d7461d5 Mon Sep 17 00:00:00 2001 From: itdominator <1itdominator@gmail.com> Date: Sat, 19 Feb 2022 23:15:02 -0600 Subject: [PATCH] Cleaning up unused imports --- .gitignore | 2 ++ .../solarfm-0.0.1/SolarFM/solarfm/controller/Controller.py | 2 +- .../solarfm-0.0.1/SolarFM/solarfm/controller/IPCServerMixin.py | 2 +- .../SolarFM/solarfm/controller/mixins/ShowHideMixin.py | 2 +- .../SolarFM/solarfm/controller/mixins/ui/TabMixin.py | 3 +-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index f8b73e7..bf657bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.idea/ + # ---> Python # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/Controller.py b/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/Controller.py index dee9397..b456000 100644 --- a/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/Controller.py +++ b/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/Controller.py @@ -1,5 +1,5 @@ # Python imports -import traceback, threading, inspect, os, gc, time +import os, gc, threading, time # Lib imports import gi diff --git a/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/IPCServerMixin.py b/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/IPCServerMixin.py index b273c9b..fabc763 100644 --- a/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/IPCServerMixin.py +++ b/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/IPCServerMixin.py @@ -1,5 +1,5 @@ # Python imports -import threading, socket, time +import threading, time from multiprocessing.connection import Listener, Client # Lib imports diff --git a/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/mixins/ShowHideMixin.py b/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/mixins/ShowHideMixin.py index d205511..d73d098 100644 --- a/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/mixins/ShowHideMixin.py +++ b/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/mixins/ShowHideMixin.py @@ -4,7 +4,7 @@ import gi gi.require_version('Gtk', '3.0') gi.require_version('Gdk', '3.0') -from gi.repository import Gtk, Gdk, Gio +from gi.repository import Gtk, Gdk # Application imports diff --git a/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/mixins/ui/TabMixin.py b/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/mixins/ui/TabMixin.py index 365fc72..41cc2c8 100644 --- a/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/mixins/ui/TabMixin.py +++ b/src/versions/solarfm-0.0.1/SolarFM/solarfm/controller/mixins/ui/TabMixin.py @@ -4,8 +4,7 @@ import os # Lib imports import gi gi.require_version('Gtk', '3.0') -gi.require_version('Gdk', '3.0') -from gi.repository import Gtk, Gdk +from gi.repository import Gtk # Application imports from . import WidgetMixin