bump python version, ruff check
This commit is contained in:
@@ -3,7 +3,7 @@ import sys
|
||||
from src.shared.logging import log, get_bloat_logger, preview
|
||||
from PySide6 import QtCore, QtGui, QtWidgets
|
||||
|
||||
from src import LOG_DIR, settings
|
||||
from src import settings
|
||||
from src.ui.widgets.iconLine import IconWidget
|
||||
from src.utils.icon import Icon
|
||||
|
||||
@@ -188,7 +188,9 @@ class Settings(QtWidgets.QDialog, _settings):
|
||||
|
||||
def debug_mode(self):
|
||||
bloat = get_bloat_logger()
|
||||
bloat.debug("Signature HTML (preview): {}", preview(self.editSignature.toHtml(), 2000))
|
||||
bloat.debug(
|
||||
"Signature HTML (preview): {}", preview(self.editSignature.toHtml(), 2000)
|
||||
)
|
||||
|
||||
def return_data(self):
|
||||
port = self.smtp_port.text()
|
||||
@@ -253,7 +255,6 @@ class Settings(QtWidgets.QDialog, _settings):
|
||||
|
||||
|
||||
def launch_settings():
|
||||
import sys
|
||||
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
window = Settings()
|
||||
|
||||
Reference in New Issue
Block a user