python: Reformat code with black 22.3.0
Related to T3922
This commit is contained in:
parent
00f1b99ad9
commit
d38e05cff7
37 changed files with 265 additions and 144 deletions
|
@ -117,7 +117,8 @@ class LaunchpadLister(Lister[LaunchpadListerState, LaunchpadPageType]):
|
|||
}
|
||||
|
||||
return get_vcs_fns[vcs_type](
|
||||
order_by="most neglected first", modified_since_date=date_last_modified,
|
||||
order_by="most neglected first",
|
||||
modified_since_date=date_last_modified,
|
||||
)
|
||||
|
||||
def get_pages(self) -> Iterator[LaunchpadPageType]:
|
||||
|
|
|
@ -192,9 +192,16 @@ def test_launchpad_incremental_lister(
|
|||
|
||||
|
||||
def test_launchpad_lister_invalid_url_filtering(
|
||||
swh_scheduler, mocker,
|
||||
swh_scheduler,
|
||||
mocker,
|
||||
):
|
||||
invalid_origin = [_Repo({"git_https_url": "tag:launchpad.net:2008:redacted",})]
|
||||
invalid_origin = [
|
||||
_Repo(
|
||||
{
|
||||
"git_https_url": "tag:launchpad.net:2008:redacted",
|
||||
}
|
||||
)
|
||||
]
|
||||
_mock_launchpad(mocker, invalid_origin)
|
||||
lister = LaunchpadLister(scheduler=swh_scheduler)
|
||||
stats = lister.run()
|
||||
|
@ -205,7 +212,8 @@ def test_launchpad_lister_invalid_url_filtering(
|
|||
|
||||
|
||||
def test_launchpad_lister_duplicated_origin(
|
||||
swh_scheduler, mocker,
|
||||
swh_scheduler,
|
||||
mocker,
|
||||
):
|
||||
origin = _Repo(
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue