Skip to content

Commit dec09b6

Browse files
committed
fix: mypy
1 parent 2890f22 commit dec09b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autointent/modules/prediction/_adaptive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def load(self, path: str) -> None:
145145
metadata: AdaptivePredictorDumpMetadata = json.load(file)
146146

147147
if metadata["tags"] is not None and isinstance(metadata["tags"], list):
148-
self.tags = [Tag(**tag) for tag in metadata["tags"]] # type: ignore[arg-type, union-attr]
148+
self.tags = [Tag(**tag) for tag in metadata["tags"]]
149149
else:
150150
self.tags = None
151151

0 commit comments

Comments
 (0)