From eb3ccb823b8c2c1ae5f9baf75a0fc65473ade90f Mon Sep 17 00:00:00 2001 From: magnesj <1793152+magnesj@users.noreply.github.com> Date: Thu, 15 Oct 2026 10:02:34 +0000 Subject: [PATCH] Python code linting changes detected by ruff --- GrpcInterface/Python/rips/tests/test_completion_export.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GrpcInterface/Python/rips/tests/test_completion_export.py b/GrpcInterface/Python/rips/tests/test_completion_export.py index d37ff24aae..34f2904e04 100644 --- a/GrpcInterface/Python/rips/tests/test_completion_export.py +++ b/GrpcInterface/Python/rips/tests/test_completion_export.py @@ -220,7 +220,9 @@ def test_export_completion_well_entering_lgr_twice(rips_instance, initialize_tes compdatl_start = lines.index("COMPDATL") compdatl_end = lines.index("/", compdatl_start) rows = [ - line for line in lines[compdatl_start:compdatl_end] if line.startswith("LgrWell") + line + for line in lines[compdatl_start:compdatl_end] + if line.startswith("LgrWell") ] assert len(rows) > 2 assert all(row.split()[1] == "LGR1" for row in rows)