mypy: Fix errors with release >= v0.900
This commit is contained in:
parent
de23a2219e
commit
bf7d44db3c
3 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
pytest
|
||||
pytest-mock
|
||||
requests_mock
|
||||
types-click
|
||||
types-pyyaml
|
||||
types-requests
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from pkgutil import extend_path
|
||||
from typing import Iterable
|
||||
from typing import List
|
||||
|
||||
__path__ = extend_path(__path__, __name__) # type: Iterable[str]
|
||||
__path__: List[str] = extend_path(__path__, __name__)
|
||||
|
|
|
@ -67,7 +67,7 @@ class BitbucketLister(Lister[BitbucketListerState, List[Dict[str, Any]]]):
|
|||
|
||||
self.incremental = incremental
|
||||
|
||||
self.url_params = {
|
||||
self.url_params: Dict[str, Any] = {
|
||||
"pagelen": page_size,
|
||||
# only return needed JSON fields in bitbucket API responses
|
||||
# (also prevent errors 500 when listing)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue