diff --git a/src/tribler/gui/dialogs/feedbackdialog.py b/src/tribler/gui/dialogs/feedbackdialog.py index e3c869304e7..8ae41f2101e 100644 --- a/src/tribler/gui/dialogs/feedbackdialog.py +++ b/src/tribler/gui/dialogs/feedbackdialog.py @@ -14,7 +14,6 @@ from tribler.core.sentry_reporter.sentry_reporter import SentryReporter from tribler.core.sentry_reporter.sentry_scrubber import SentryScrubber from tribler.core.sentry_reporter.sentry_tools import CONTEXT_DELIMITER, LONG_TEXT_DELIMITER - from tribler.gui.app_manager import AppManager from tribler.gui.event_request_manager import received_events from tribler.gui.sentry_mixin import AddBreadcrumbOnShowMixin diff --git a/src/tribler/gui/error_handler.py b/src/tribler/gui/error_handler.py index 764ba61e36e..c4f177eca73 100644 --- a/src/tribler/gui/error_handler.py +++ b/src/tribler/gui/error_handler.py @@ -5,7 +5,6 @@ from tribler.core.components.reporter.reported_error import ReportedError from tribler.core.sentry_reporter.sentry_reporter import SentryStrategy - from tribler.gui import gui_sentry_reporter from tribler.gui.app_manager import AppManager from tribler.gui.dialogs.feedbackdialog import FeedbackDialog diff --git a/src/tribler/gui/event_request_manager.py b/src/tribler/gui/event_request_manager.py index d117c937fe0..96b0549a73c 100644 --- a/src/tribler/gui/event_request_manager.py +++ b/src/tribler/gui/event_request_manager.py @@ -8,7 +8,6 @@ from tribler.core import notifications from tribler.core.components.reporter.reported_error import ReportedError from tribler.core.utilities.notifier import Notifier - from tribler.gui import gui_sentry_reporter from tribler.gui.exceptions import CoreConnectTimeoutError, CoreConnectionError from tribler.gui.utilities import connect diff --git a/src/tribler/gui/start_gui.py b/src/tribler/gui/start_gui.py index 21d53934eee..f700e6e2b56 100644 --- a/src/tribler/gui/start_gui.py +++ b/src/tribler/gui/start_gui.py @@ -15,7 +15,6 @@ from tribler.core.logger.logger import load_logger_config from tribler.core.sentry_reporter.sentry_reporter import SentryStrategy from tribler.core.utilities.rest_utils import path_to_uri - from tribler.gui import gui_sentry_reporter from tribler.gui.app_manager import AppManager from tribler.gui.tribler_app import TriblerApplication diff --git a/src/tribler/gui/tests/test_error_handler.py b/src/tribler/gui/tests/test_error_handler.py index 8eec4e59ec6..6453eb5e637 100644 --- a/src/tribler/gui/tests/test_error_handler.py +++ b/src/tribler/gui/tests/test_error_handler.py @@ -4,7 +4,6 @@ from tribler.core.components.reporter.reported_error import ReportedError from tribler.core.sentry_reporter.sentry_reporter import SentryReporter, SentryStrategy - from tribler.gui.error_handler import ErrorHandler from tribler.gui.exceptions import CoreConnectTimeoutError, CoreCrashedError diff --git a/src/tribler/gui/tests/test_gui.py b/src/tribler/gui/tests/test_gui.py index 1dfc871afff..684613b5915 100644 --- a/src/tribler/gui/tests/test_gui.py +++ b/src/tribler/gui/tests/test_gui.py @@ -3,21 +3,20 @@ from pathlib import Path from typing import Callable -from PyQt5.QtCore import pyqtSignal, QMetaObject, QPoint, QSettings, QTimer, Q_ARG, Qt +from PyQt5.QtCore import QMetaObject, QPoint, QSettings, QTimer, Q_ARG, Qt, pyqtSignal from PyQt5.QtGui import QKeySequence, QPixmap, QRegion from PyQt5.QtTest import QTest from PyQt5.QtWidgets import QListWidget, QTableView, QTextEdit, QTreeWidget, QTreeWidgetItem import pytest +import tribler.gui from tribler.core.components.reporter.reported_error import ReportedError from tribler.core.components.tag.tag_constants import MIN_TAG_LENGTH from tribler.core.sentry_reporter.sentry_reporter import SentryReporter from tribler.core.tests.tools.common import TESTS_DATA_DIR from tribler.core.utilities.rest_utils import path_to_uri from tribler.core.utilities.unicode import hexlify - -import tribler.gui from tribler.gui.app_manager import AppManager from tribler.gui.dialogs.feedbackdialog import FeedbackDialog from tribler.gui.dialogs.new_channel_dialog import NewChannelDialog