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
@@ -1,12 +1,15 @@
|
||||
from fabric.audio import Audio # noqa: F401
|
||||
|
||||
from .battery import Battery # noqa: F401
|
||||
from .brightness import Brightness # noqa: F401
|
||||
from .capslock import CapsLock # noqa: F401
|
||||
from .numlock import NumLock # noqa: F401
|
||||
from .config import ConfigService, on_config_change, start_config_service # noqa: F401
|
||||
from .keyboard_layout import KeyboardLayout # noqa: F401
|
||||
from .network import NetworkClient, Wifi, Ethernet # noqa: F401
|
||||
from .mpris import PlayerService, PlayerManager # noqa: F401
|
||||
from .mpris import PlayerService as MprisPlayer, PlayerManager as MprisPlayerManager # noqa: F401
|
||||
from .modus import ModusService # noqa: F401
|
||||
from .mpris import PlayerManager, PlayerService # noqa: F401
|
||||
from .mpris import PlayerManager as MprisPlayerManager # noqa: F401
|
||||
from .mpris import PlayerService as MprisPlayer # noqa: F401
|
||||
from .network import Ethernet, NetworkClient, Wifi # noqa: F401
|
||||
from .numlock import NumLock # noqa: F401
|
||||
from .todo import TodoService # noqa: F401
|
||||
from .config import on_config_change, start_config_service, ConfigService # noqa: F401
|
||||
from .wallpaper import WallpaperService, create_thumbnail # noqa: F401
|
||||
Reference in new issue
Block a user