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
@@ -28,16 +28,16 @@ from utils.icon_resolver import IconResolver
|
||||
|
||||
class _SwitcherItem:
|
||||
__slots__ = (
|
||||
"button",
|
||||
"item_box",
|
||||
"header_box",
|
||||
"address",
|
||||
"app_icon",
|
||||
"name_label",
|
||||
"preview_image",
|
||||
"overlay",
|
||||
"badge_box",
|
||||
"badge_label",
|
||||
"address",
|
||||
"button",
|
||||
"header_box",
|
||||
"item_box",
|
||||
"name_label",
|
||||
"overlay",
|
||||
"preview_image",
|
||||
)
|
||||
|
||||
def __init__(
|
||||
|
||||
Reference in new issue
Block a user