Skip to content

Commit 161293a

Browse files
committed
fix: added ignore[arg-type]
1 parent dec09b6 commit 161293a

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"]]
148+
self.tags = [Tag(**tag) for tag in metadata["tags"]] # type: ignore[arg-type]
149149
else:
150150
self.tags = None
151151

0 commit comments

Comments
 (0)