Skip to content

Commit 6b2eb20

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 737e34f commit 6b2eb20

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/virtualship/expedition/schedule.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# from waypoint import Waypoint
1717

1818

19-
class Schedule(pydantic.BaseModel):
19+
class Schedule(pydantic.BaseModel):
2020
"""Schedule of the virtual ship."""
2121

2222
waypoints: list[Waypoint]
@@ -50,10 +50,9 @@ def from_yaml(cls, file_path: str | Path) -> Schedule:
5050
data = yaml.safe_load(file)
5151
return Schedule(**data)
5252

53-
if __name__=="__main__":
5453

54+
if __name__ == "__main__":
5555
import sys
56-
sys.path.append('/home/iury/projects/active/virtualship/src/virtualship/src')
57-
from virtualship.expedition.schedule import Schedule
58-
5956

57+
sys.path.append("/home/iury/projects/active/virtualship/src/virtualship/src")
58+
from virtualship.expedition.schedule import Schedule

0 commit comments

Comments
 (0)