improvements
Build and Deploy / build (push) Successful in 34s
Release / build (push) Successful in 19s
Build and Deploy / deploy (push) Successful in 37s

This commit is contained in:
2026-06-12 09:53:25 +02:00
parent 51a1638cca
commit 06d6354d29
11 changed files with 234 additions and 259 deletions
+7 -4
View File
@@ -38,12 +38,15 @@ try:
except ImportError:
pass
# Make src/ importable when running as `python main.py`.
# Make src/ importable when running as `python main.py`. Import the
# modules by their plain names (not `src.X`) so they are the same module
# objects the src-internal imports resolve to — `src.X` would load every
# module twice under two names.
sys.path.insert(0, str(Path(__file__).resolve().parent / "src"))
from src.MatchesCache import MatchesCache # noqa: E402
from src.LightNovelOrchestrator import LightNovelOrchestrator # noqa: E402
from src.MatchesWebApp import MatchesWebApp # noqa: E402
from MatchesCache import MatchesCache # noqa: E402
from LightNovelOrchestrator import LightNovelOrchestrator # noqa: E402
from MatchesWebApp import MatchesWebApp # noqa: E402
def _env_str(name: str, default: "str | None" = None,