refactor(utils): consolidate imports to fabric.utils
Removes unused `json` import and refactors imports to pull `GLib`, `Gtk`, `logger`, and `os` from `fabric.utils`, reducing module proliferation. Details: - Enhancements: Simplified import structure, removing redundant dependencies. - Bug Fixes: None.
This commit is contained in:
1 file changed
+1
-7
@@ -1,11 +1,5 @@
|
|||||||
import json
|
import json
|
||||||
import os
|
from fabric.utils import GLib, Gtk, logger, os # noqa: E402
|
||||||
|
|
||||||
import gi
|
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
|
||||||
from gi.repository import GLib, Gtk # noqa: E402
|
|
||||||
from loguru import logger # noqa: E402
|
|
||||||
|
|
||||||
import config.data as data # noqa: E402
|
import config.data as data # noqa: E402
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user