Skip to content

Commit 6fcc25f

Browse files
committed
format
1 parent 49df95c commit 6fcc25f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/labelformat/model/instance_segmentation_track.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
from labelformat.model.binary_mask_segmentation import BinaryMaskSegmentation
99
from labelformat.model.category import Category
10-
from labelformat.model.video import Video
1110
from labelformat.model.multipolygon import MultiPolygon
11+
from labelformat.model.video import Video
1212

1313

1414
@dataclass(frozen=True)
@@ -37,6 +37,7 @@ def __post_init__(self) -> None:
3737
"Length of instance segmentation track does not match the number of frames in the video."
3838
)
3939

40+
4041
class InstanceSegmentationTrackInput(ABC):
4142
@staticmethod
4243
@abstractmethod

tests/unit/formats/test_youtubevis.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def test_get_labels(self, tmp_path: Path) -> None:
6262
)
6363
]
6464

65+
6566
def _write_youtube_vis_json(input_file: Path) -> Path:
6667
data = {
6768
"categories": [
@@ -88,4 +89,4 @@ def _write_youtube_vis_json(input_file: Path) -> Path:
8889
],
8990
}
9091
input_file.write_text(json.dumps(data))
91-
return input_file
92+
return input_file

0 commit comments

Comments
 (0)