From 55dbdbb7cb1165353ffeeba63a73704a168dd11f Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Tue, 15 Oct 2024 16:48:07 +0200 Subject: [PATCH] xc7:place_constraints: apply format Signed-off-by: Karol Gugala --- f4pga/utils/xc7/create_place_constraints.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/f4pga/utils/xc7/create_place_constraints.py b/f4pga/utils/xc7/create_place_constraints.py index 6b78be5..6964262 100644 --- a/f4pga/utils/xc7/create_place_constraints.py +++ b/f4pga/utils/xc7/create_place_constraints.py @@ -1120,11 +1120,13 @@ def main( net=Path(net).open("r"), vpr_grid_map=vpr_grid_map, arch=arch, - db_root=environ.get( - "DATABASE_DIR", subprocess_run("prjxray-config", capture_output=True).stdout.decode("utf-8").strip() - ) - if db_root is None - else db_root, + db_root=( + environ.get( + "DATABASE_DIR", subprocess_run("prjxray-config", capture_output=True).stdout.decode("utf-8").strip() + ) + if db_root is None + else db_root + ), part=part, blif=Path(blif).open("r"), input=sys.stdin if input is None else Path(input).open("r"),