Skip to content

Commit 545f482

Browse files
chore: auto fixes from pre-commit hooks
1 parent 23d6b10 commit 545f482

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ansys/geometry/core/connection/product_instance.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,10 @@ def prepare_and_start_backend(
474474

475475
# At least dotnet 8.0 is required
476476
# private method and controlled input by library - excluding bandit check.
477-
if subprocess.check_output(["dotnet", "--version"]).decode("utf-8").split(".")[0] < "8": # nosec B607, B603
477+
if (
478+
subprocess.check_output(["dotnet", "--version"]).decode("utf-8").split(".")[0]
479+
< "8"
480+
): # nosec B607, B603
478481
raise RuntimeError(
479482
"Ansys Geometry Core Service requires at least dotnet 8.0. "
480483
"Please install a compatible version."

0 commit comments

Comments
 (0)