bump python version, ruff check

This commit is contained in:
2026-02-10 14:33:54 +01:00
parent 639afe9b95
commit 2e5cda6689
70 changed files with 2946 additions and 1858 deletions

View File

@@ -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()