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