style: enforce consistent codestyle via ruff config and auto-fixes
- Configure ruff: isort, pyupgrade, bugbear, flake8 rules - Auto-fix import sorting, redundant parens, exception chaining - Remove from __future__ import annotations (Python 3.13+) - Convert debug print() to logger calls - Fix typo applicaiton → application in icon_resolver - Remove bare returns in animator setters - Move TYPE_CHECKING imports to runtime where used at runtime
This commit is contained in:
60 files changed
+243
-217
No files matched your search
@@ -13,7 +13,9 @@ from utils.utils import setup_cursor_hover, svg_file
|
||||
|
||||
|
||||
class SettingsRow(CenterBox):
|
||||
def __init__(self, label: str, child=None, description: str = None, **kwargs):
|
||||
def __init__(
|
||||
self, label: str, child=None, description: str | None = None, **kwargs
|
||||
):
|
||||
label_widget = Label(label=label, name="settings-row-label", h_align="start")
|
||||
|
||||
start_children = [label_widget]
|
||||
|
||||
Reference in new issue
Block a user