Skip to content

Commit f629e6a

Browse files
chore: sonar feedback
Signed-off-by: jaapschoutenalliander <[email protected]>
1 parent d401ef6 commit f629e6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/power_grid_model_ds/_core/utils/serialization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,11 @@ def _get_serialization_path(path: Path, format_type: Literal["json", "msgpack",
223223
"""
224224
JSON_EXTENSIONS = [".json"]
225225
MSGPACK_EXTENSIONS = [".msgpack", ".mp"]
226-
226+
227227
if format_type == "auto":
228228
if path.suffix.lower() in JSON_EXTENSIONS:
229229
format_type = "json"
230-
elif path.suffix.lower() in MSGPACK_EXTENSIONS
230+
elif path.suffix.lower() in MSGPACK_EXTENSIONS:
231231
format_type = "msgpack"
232232
else:
233233
# Default to JSON

0 commit comments

Comments
 (0)