Skip to content

Commit

Permalink
format black
Browse files Browse the repository at this point in the history
  • Loading branch information
killian-scalian committed Jan 8, 2025
1 parent e33e0f3 commit 946a0cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/andromede/input_converter/src/utils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
from pathlib import Path

import yaml
from antares.craft.model.area import Area
from pydantic import BaseModel

from andromede.study.parsing import InputComponent, InputComponentParameter


def resolve_path(path_str: Path) -> Path:
path = Path(path_str)
Expand All @@ -15,6 +12,7 @@ def resolve_path(path_str: Path) -> Path:
absolute_path = path.resolve()
return absolute_path


def transform_to_yaml(model: BaseModel, output_path: str) -> None:
with open(output_path, "w", encoding="utf-8") as yaml_file:
yaml.dump(
Expand Down

0 comments on commit 946a0cf

Please sign in to comment.