typing: minimal changes to make a no-op mypy run pass
This commit is contained in:
parent
78105940ff
commit
974f80f966
18 changed files with 135 additions and 47 deletions
|
@ -6,6 +6,8 @@
|
|||
import re
|
||||
import time
|
||||
|
||||
from typing import Any
|
||||
|
||||
from swh.lister.core.indexing_lister import IndexingHttpLister
|
||||
from swh.lister.github.models import GitHubModel
|
||||
|
||||
|
@ -17,7 +19,7 @@ class GitHubLister(IndexingHttpLister):
|
|||
API_URL_INDEX_RE = re.compile(r'^.*/repositories\?since=(\d+)')
|
||||
LISTER_NAME = 'github'
|
||||
instance = 'github' # There is only 1 instance of such lister
|
||||
default_min_bound = 0
|
||||
default_min_bound = 0 # type: Any
|
||||
|
||||
def get_model_from_repo(self, repo):
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue