packagist: Fix mypy error after typing added to grouper

This commit is contained in:
Antoine Lambert 2025-02-25 10:54:12 +01:00
parent bde37867d8
commit 6b4f84a384
No known key found for this signature in database
GPG key ID: D026E5C2F802586D

View file

@ -1,4 +1,4 @@
# Copyright (C) 2019-2023 The Software Heritage developers
# Copyright (C) 2019-2025 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
@ -7,7 +7,7 @@ from dataclasses import dataclass
from datetime import datetime, timezone
import logging
from random import shuffle
from typing import Any, Dict, Iterator, List, Optional
from typing import Any, Dict, Iterable, Iterator, List, Optional
import iso8601
import requests
@ -21,7 +21,7 @@ from ..pattern import CredentialsType, Lister
logger = logging.getLogger(__name__)
PackagistPageType = List[str]
PackagistPageType = Iterable[str]
class NotModifiedSinceLastVisit(ValueError):