Skip to content

Commit 8ada4e2

Browse files
Remove unused imports and variables (pyflakes)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3091bc4 commit 8ada4e2

4 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/bioimage_cpp/label_multiset/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from __future__ import annotations
2323

2424
from dataclasses import dataclass
25-
from typing import Optional, Tuple, Union
25+
from typing import Tuple
2626

2727
import numpy as np
2828

tests/graph/test_rag_lifted_features.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ def test_lifted_affinity_features_skips_local_hits():
219219
],
220220
dtype=np.uint32,
221221
)
222-
rag = bic.graph.region_adjacency_graph(labels)
223222
# Offset (2, 2): in a 3x3 grid only (0, 0) -> (2, 2), both label 0.
224223
# So no diff, no accumulation. We pass a lifted edge that doesn't exist
225224
# in the data to make sure no accumulation happens.

tests/label_multiset/test_merger.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import numpy as np
22

3-
from bioimage_cpp._core import Blocking
43
from bioimage_cpp.label_multiset import (
54
MultisetMerger,
6-
downsample_multiset,
75
multiset_from_labels,
86
)
97

tests/label_multiset/test_read_subset.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import numpy as np
2-
import pytest
32

43
from bioimage_cpp.label_multiset import read_subset
54

0 commit comments

Comments
 (0)