diff --git a/sohstationviewer/view/date_edit_with_doy.py b/sohstationviewer/view/date_edit_with_doy.py
index ce3248036e3ccf8ba80afe19abb0e6489d96337d..017ef67cea9caeaf4c895b02dbb399345abe050e 100644
--- a/sohstationviewer/view/date_edit_with_doy.py
+++ b/sohstationviewer/view/date_edit_with_doy.py
@@ -1,9 +1,9 @@
 from PySide6.QtCore import Qt, QDate
 from PySide6.QtGui import (
-    QKeyEvent, QWheelEvent, QContextMenuEvent,
+    QKeyEvent, QWheelEvent, QContextMenuEvent, QAction
 )
 from PySide6.QtWidgets import (
-    QDateEdit, QLineEdit, QMenu, QAction,
+    QDateEdit, QLineEdit, QMenu,
 )
 
 
diff --git a/sohstationviewer/view/file_information/file_info_widget.py b/sohstationviewer/view/file_information/file_info_widget.py
index 1f977dac9d73b78871041421795fc6ea8a3d3f71..b78380f08d4646afd2afadc751ff139efe66bf12 100644
--- a/sohstationviewer/view/file_information/file_info_widget.py
+++ b/sohstationviewer/view/file_information/file_info_widget.py
@@ -1,9 +1,9 @@
 from PySide6 import QtCore
 from PySide6.QtGui import (
     QContextMenuEvent, QGuiApplication, QKeySequence,
-    QKeyEvent,
+    QKeyEvent, QAction
 )
-from PySide6.QtWidgets import QListWidget, QMenu, QAction
+from PySide6.QtWidgets import QListWidget, QMenu
 
 
 class FileInfoWidget(QListWidget):
diff --git a/sohstationviewer/view/ui/main_ui.py b/sohstationviewer/view/ui/main_ui.py
index 3e4387b6b61199608be96f439ba10982208d0843..d83a14909625275940a25b03145cdb10e7c52cba 100755
--- a/sohstationviewer/view/ui/main_ui.py
+++ b/sohstationviewer/view/ui/main_ui.py
@@ -6,9 +6,11 @@ from typing import Union, List, Optional
 from PySide6 import QtCore, QtGui, QtWidgets
 from PySide6.QtWidgets import (
     QMainWindow, QWidget, QTextBrowser, QPushButton, QLineEdit, QDateEdit,
-    QListWidget, QCheckBox, QRadioButton, QMenu, QAction, QLabel, QFrame,
-    QVBoxLayout, QHBoxLayout, QGridLayout, QAbstractItemView, QShortcut,
-    QActionGroup, QButtonGroup,
+    QListWidget, QCheckBox, QRadioButton, QMenu, QLabel, QFrame,
+    QVBoxLayout, QHBoxLayout, QGridLayout, QAbstractItemView, QButtonGroup,
+)
+from PySide6.QtGui import (
+    QAction, QActionGroup, QShortcut
 )
 
 from sohstationviewer.view.calendar.calendar_widget import CalendarWidget