diff --git a/soitool/main.py b/soitool/main.py
index 405b5da3f4db271dc33990790e0f6e722152a061..8079ab33fd7bf6c89bf3bc8eb47559c71363a7e9 100644
--- a/soitool/main.py
+++ b/soitool/main.py
@@ -4,17 +4,17 @@ Bare her for å ha noe å teste mens vi setter opp repo
 
 """
 
-import unittest
 import sys
 
-from PySide2 import QtGui, QtWidgets, QtTest, QtCore
+from PySide2 import QtWidgets
 
 
 class CoolWidget(QtWidgets.QWidget):
     def __init__(self, text="Sample text", *args, **kwargs):
         super(CoolWidget, self).__init__(*args, **kwargs)
 
-        # settings this to None is only useful for one of the testing methods described in test_main.py
+        # settings this to None is only useful for one of the testing methods
+        # described in test_main.py
         self.dlg_input = None
 
         layout = QtWidgets.QHBoxLayout()
@@ -26,7 +26,8 @@ class CoolWidget(QtWidgets.QWidget):
         self.setLayout(layout)
 
     def clickfunc(self):
-        # try-finally to set dialog to None is only useful for one of the testing methods described in test_main.py
+        # try-finally to set dialog to None is only useful for one of the
+        # testing methods described in test_main.py
         try:
             self.dlg_input = QtWidgets.QInputDialog(self)
             text, ok = self.dlg_input.getText(
@@ -44,9 +45,9 @@ class CoolWidget(QtWidgets.QWidget):
         finally:
             self.dlg_input = None
 
+
 if __name__ == "__main__":
     app = QtWidgets.QApplication(sys.argv)
     widget = CoolWidget("Custom text")
     widget.show()
     app.exec_()
-