Skip to content

Commit c36a7cb

Browse files
committed
chore: update type hint for save
1 parent 55f559d commit c36a7cb

File tree

1 file changed

+1
-2
lines changed
  • packages/robot/src/robotcode/robot/config

1 file changed

+1
-2
lines changed

packages/robot/src/robotcode/robot/config/model.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# ruff: noqa: RUF009
2-
32
import dataclasses
43
import datetime
54
import fnmatch
@@ -2103,7 +2102,7 @@ class RobotBaseProfile(CommonOptions, CommonExtraOptions, RobotOptions, RobotExt
21032102
"""
21042103
)
21052104

2106-
def save(self, path: os.PathLike[str]) -> None:
2105+
def save(self, path: "os.PathLike[str]") -> None:
21072106
Path(path).parent.mkdir(parents=True, exist_ok=True)
21082107
with Path(path).open("w", encoding="utf-8") as f:
21092108
f.write(tomli_w.dumps(as_dict(self, remove_defaults=True)))

0 commit comments

Comments
 (0)