Skip to content

Commit 2b21e42

Browse files
authored
ruff formatting
1 parent 2fe34b4 commit 2b21e42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

infrahub_sdk/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,9 @@ def read_file(file_path: Path) -> str:
358358
with Path.open(file_path, encoding="utf-8") as fobj:
359359
return fobj.read()
360360
except UnicodeDecodeError as exc:
361-
raise FileNotValidError(name=str(file_path.name), message=f"Unable to read {file_path.name} with utf-8 encoding") from exc
361+
raise FileNotValidError(
362+
name=str(file_path.name), message=f"Unable to read {file_path.name} with utf-8 encoding"
363+
) from exc
362364

363365

364366
def get_user_permissions(data: list[dict]) -> dict:

0 commit comments

Comments
 (0)