Skip to content

Commit

Permalink
refactor typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Anis SMAIL committed Jan 30, 2025
1 parent bd5538a commit e3b642d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antarest/study/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def validate_folder(self, key: str, folder: t.Optional[str]) -> t.Optional[str]:
return normalize_path(folder)


def normalize_path(path: t.Optional[str]) -> str:
def normalize_path(path: t.Optional[str]) -> t.Optional[str]:
"""
Turns any path including a windows path (with \ separator) to a posix path (with / separator).
"""
Expand Down

0 comments on commit e3b642d

Please sign in to comment.