feat(root): add pyproject.toml and reorganize imports & dependencies
Add explicit pyproject.toml with project metadata, dependency groups, and uv lock configuration. - New Features - Introduce pyproject.toml defining package name, version, description, and runtime dependencies. - Declare dependencies in a structured list and development groups. - Enhancements - Consolidate and clean up imports in lock.py and main.py. - Replace hard‑coded logger disable entries with targeted fabric module names. - Streamline Application initialization by removing unused components. - Bug Fixes - Resolve missing imports that caused NameError. - Correct import ordering for static analysis compliance. - Align dependency versions with uv.lock for reproducibility.
This commit is contained in:
4 files changed
+432
-45
No files matched your search
@@ -1,27 +1,29 @@
|
||||
from widgets.circle_image import CircleImage as Image
|
||||
from modules.panel.components.indicators import (
|
||||
BatteryIndicator,
|
||||
BluetoothIndicator,
|
||||
NetworkIndicator,
|
||||
)
|
||||
import getpass
|
||||
import os
|
||||
|
||||
import gi
|
||||
import pam
|
||||
import setproctitle
|
||||
from fabric import Application
|
||||
from fabric.utils import get_relative_path
|
||||
from fabric.widgets.box import Box
|
||||
from fabric.widgets.centerbox import CenterBox
|
||||
from fabric.widgets.datetime import DateTime
|
||||
from fabric.widgets.entry import Entry
|
||||
from fabric.widgets.label import Label
|
||||
from fabric.widgets.window import Window
|
||||
from gi.repository import (
|
||||
Gdk, # pyright: ignore[reportMissingModuleSource]
|
||||
GLib,
|
||||
GtkSessionLock, # pyright: ignore[reportAttributeAccessIssue]
|
||||
)
|
||||
from fabric.widgets.window import Window
|
||||
from fabric.widgets.label import Label
|
||||
from fabric.widgets.entry import Entry
|
||||
from fabric.widgets.datetime import DateTime
|
||||
from fabric.widgets.centerbox import CenterBox
|
||||
from fabric.widgets.box import Box
|
||||
from fabric.utils import get_relative_path
|
||||
from fabric import Application
|
||||
import os
|
||||
import getpass
|
||||
import setproctitle
|
||||
import gi
|
||||
import pam
|
||||
|
||||
from modules.panel.components.indicators import (
|
||||
BatteryIndicator,
|
||||
BluetoothIndicator,
|
||||
NetworkIndicator,
|
||||
)
|
||||
from widgets.circle_image import CircleImage as Image
|
||||
|
||||
gi.require_version("Gdk", "3.0")
|
||||
gi.require_version("Gtk", "3.0")
|
||||
|
||||
Reference in new issue
Block a user