Page MenuHomeSoftware Heritage
Paste P1181

(An Untitled Masterwork)
ActivePublic

Authored by douardda on Sep 28 2021, 4:54 PM.
 ddouard  (e) swh   master ✚ 2 … 11  ~/s/s/swh-storage  mypy swh
swh/storage/replay.py:133: error: Argument 1 to "collision_aware_content_add" has incompatible type "Callable[[List[SkippedContent]], Dict[str, int]]"; expected "Callable[[Iterable[Any]], None]"
swh/storage/replay.py:134: error: Argument 1 to "collision_aware_content_add" has incompatible type "Callable[[List[Content]], Dict[str, int]]"; expected "Callable[[Iterable[Any]], None]"
swh/storage/replay.py:137: error: Argument 1 to "collision_aware_content_add" has incompatible type "Callable[[List[SkippedContent]], Dict[str, int]]"; expected "Callable[[Iterable[Any]], None]"
swh/storage/replay.py:152: error: Argument 1 to "metadata_authority_add" of "StorageInterface" has incompatible type "Set[Any]"; expected "List[MetadataAuthority]"
swh/storage/replay.py:153: error: Argument 1 to "metadata_fetcher_add" of "StorageInterface" has incompatible type "Set[Any]"; expected "List[MetadataFetcher]"
Found 5 errors in 1 file (checked 87 source files)