From c5fba75a93ecf70f6776b275b8ce143a972baa55 Mon Sep 17 00:00:00 2001 From: Gabriele Battimelli Date: Thu, 27 Aug 2026 08:53:21 -0400 Subject: [PATCH] Format the JIXIA_PATH check to match ruff The lint workflow failed on the previous commit: ruff format collapses this raise onto one line and my hand-wrapped version did not match. --- database/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/database/__init__.py b/database/__init__.py index d7cf558..1e4cddf 100644 --- a/database/__init__.py +++ b/database/__init__.py @@ -58,10 +58,7 @@ def main(): create_schema(conn) elif args.command == "jixia": if not os.environ.get("JIXIA_PATH"): - raise SystemExit( - "JIXIA_PATH is not set. It must point at the jixia binary, e.g. " - "jixia/.lake/build/bin/jixia" - ) + raise SystemExit("JIXIA_PATH is not set. It must point at the jixia binary, e.g. jixia/.lake/build/bin/jixia") # jixia runs each module with cwd=project_root, so the module file # path must be absolute — a relative root would be resolved twice. project = LeanProject(os.path.abspath(args.project_root))