Skip to content

Commit e102170

Browse files
committed
fix liniting
1 parent 31fed88 commit e102170

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sed/binning/binning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def bin_partition(
122122
# convert bin centers to bin edges:
123123
if all(isinstance(x, np.ndarray) for x in bins):
124124
# create a copy to avoid modifying input data
125-
bins = list(bins)
125+
bins = list(cast(list[np.ndarray], bins))
126126
for i, bin_centers in enumerate(bins):
127127
bins[i] = bin_centers_to_bin_edges(bin_centers)
128128
else:

0 commit comments

Comments
 (0)