Skip to content

Commit 6e382bb

Browse files
committed
ruff fixes
1 parent 091c65a commit 6e382bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

chebai/preprocessing/reader.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ def _read_components(self, row: Dict[str, Any]) -> Dict[str, Any]:
100100
additional_kwargs = self._get_additional_kwargs(row)
101101
if labels is not None:
102102
if any(label is None for label in labels):
103-
additional_kwargs["missing_labels"] = [label is None for label in labels]
103+
additional_kwargs["missing_labels"] = [
104+
label is None for label in labels
105+
]
104106
return dict(
105107
features=self._get_raw_data(row),
106108
labels=labels,

0 commit comments

Comments
 (0)