pmb.commands.pull: Annotate return types (MR 2429)

This commit is contained in:
Newbyte 2024-10-07 22:06:17 +02:00 committed by Oliver Smith
parent 0b4fb9119f
commit 405869db1b
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -9,10 +9,10 @@ import logging
class Pull(commands.Command):
def __init__(self):
def __init__(self) -> None:
pass
def run(self):
def run(self) -> bool:
failed = []
for repo in pmb.config.git_repos.keys():
if pmb.helpers.git.pull(repo) < 0: