python: Reformat code with black 22.3.0

Related to T3922
This commit is contained in:
Antoine Lambert 2022-04-08 15:15:09 +02:00
parent 00f1b99ad9
commit d38e05cff7
37 changed files with 265 additions and 144 deletions

View file

@ -42,7 +42,9 @@ class CratesLister(StatelessLister[CratesListerPage]):
)
def __init__(
self, scheduler: SchedulerInterface, credentials: CredentialsType = None,
self,
scheduler: SchedulerInterface,
credentials: CredentialsType = None,
):
super().__init__(
scheduler=scheduler,
@ -55,7 +57,12 @@ class CratesLister(StatelessLister[CratesListerPage]):
"""Get crates.io-index repository up to date running git command."""
subprocess.check_call(
["git", "clone", self.INDEX_REPOSITORY_URL, self.DESTINATION_PATH,]
[
"git",
"clone",
self.INDEX_REPOSITORY_URL,
self.DESTINATION_PATH,
]
)
def get_crates_index(self) -> List[Path]: