Skip to content

Commit

Permalink
Satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovsky committed Mar 23, 2022
1 parent 9d1c61a commit 0ca3212
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/tribler/gui/dialogs/feedbackdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/tribler/gui/error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/tribler/gui/event_request_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/tribler/gui/start_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/tribler/gui/tests/test_error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 2 additions & 3 deletions src/tribler/gui/tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ca3212

Please sign in to comment.