Skip to content

Add AGNews corpus #2056

Add AGNews corpus

Add AGNews corpus #2056

Triggered via pull request December 17, 2023 08:25
Status Failure
Total duration 16m 39s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test: flair/__init__.py#L1
mypy-status mypy exited with status 1.
test: flair/datasets/document_classification.py#L1
flair/datasets/document_classification.py 968: error: Incompatible types in assignment (expression has type "int", variable has type "str") [assignment] 972: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload] 972: note: Possible overload variants: 972: note: def __getitem__(self, SupportsIndex, /) -> str 972: note: def __getitem__(self, slice, /) -> List[str]
test
Process completed with exit code 1.