Run ruff format changes and finalize indentation and lint fixes.
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
"""Shim for backward compatibility.
|
||||
|
||||
Re-exports canonical implementation from thechart.ui.medicine_management_window.
|
||||
"""
|
||||
|
||||
# Deprecated legacy shim. Use 'thechart.ui.medicine_management_window' instead.
|
||||
from __future__ import annotations
|
||||
|
||||
try: # noqa: SIM105
|
||||
from thechart.ui.medicine_management_window import * # type: ignore # noqa: F401,F403
|
||||
except ModuleNotFoundError: # pragma: no cover
|
||||
# Fallback for dev environments not using package layout
|
||||
from src.thechart.ui.medicine_management_window import * # type: ignore # noqa: F401,F403
|
||||
raise ImportError(
|
||||
"src.medicine_management_window is removed. Import from "
|
||||
"'thechart.ui.medicine_management_window'."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user