mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-15 04:15:13 +03:00
pmb: Enable Perflint checks
Likely will have minor impact in practice, but it is better than nothing. Also seems to often result in more concise code.
This commit is contained in:
parent
3ea5a3433b
commit
1ce9b6a887
9 changed files with 21 additions and 29 deletions
|
@ -13,10 +13,7 @@ class Pull(commands.Command):
|
|||
pass
|
||||
|
||||
def run(self) -> None:
|
||||
failed = []
|
||||
for repo in pmb.config.git_repos.keys():
|
||||
if pmb.helpers.git.pull(repo) < 0:
|
||||
failed.append(repo)
|
||||
failed = [repo for repo in pmb.config.git_repos.keys() if pmb.helpers.git.pull(repo) < 0]
|
||||
|
||||
if not failed:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue