cleanup
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import logging
|
||||
from typing import List
|
||||
|
||||
from PySide6.QtWidgets import *
|
||||
from PySide6.QtGui import *
|
||||
@@ -16,7 +15,6 @@ from src.settings.settingsstore import SettingsStore
|
||||
from src.ui.bigtext.highlightingdialog import HighlightingDialog
|
||||
from src.ui.tabs import Tabs
|
||||
from src.util.urlutils import url_is_file
|
||||
from functools import reduce
|
||||
|
||||
from src.i18n import _
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
from types import ModuleType
|
||||
from typing import Dict, Optional
|
||||
from inspect import isclass
|
||||
from importlib import import_module
|
||||
from inspect import signature
|
||||
from src.pluginbase import PluginBase
|
||||
from src.zonedpluginregistry import ZonedPluginRegistry
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from typing import Callable
|
||||
|
||||
from PySide6.QtGui import QAction, QIcon
|
||||
from PySide6.QtGui import QAction
|
||||
from PySide6.QtWidgets import QMenu, QPushButton, QWidget
|
||||
|
||||
from src.ui.icon import Icon
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
from abc import abstractmethod
|
||||
from typing import List, BinaryIO
|
||||
|
||||
from src.ui.bigtext.line import Line
|
||||
|
||||
from typing import BinaryIO
|
||||
|
||||
class PreProcessLinesHook:
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import List, Optional, BinaryIO
|
||||
from typing import Optional, BinaryIO
|
||||
|
||||
from src.plugins.logfile.preprocesslineshook import PreProcessLinesHook
|
||||
from src.ui.bigtext.line import Line
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
import numbers
|
||||
import unittest
|
||||
|
||||
import unicodedata
|
||||
import base64
|
||||
import urllib
|
||||
|
||||
from line import Line
|
||||
|
||||
|
||||
class MyTestCase(unittest.TestCase):
|
||||
def test_column_to_char(self):
|
||||
byte_offset = 123
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from PySide6.QtWidgets import QWidget, QGridLayout, QLabel
|
||||
from PySide6.QtWidgets import QWidget, QGridLayout
|
||||
|
||||
|
||||
class FormGrid(QWidget):
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import math
|
||||
import os
|
||||
from logging import exception
|
||||
from typing import Optional
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user