forked from Mirror/pmbootstrap
pmb: Reformat with Ruff 0.9 (MR 2525)
See https://astral.sh/blog/ruff-v0.9.0
This commit is contained in:
parent
2be49f8caf
commit
3061e702ab
48 changed files with 114 additions and 145 deletions
|
@ -21,7 +21,7 @@ def get_groups(config: Config) -> list[str]:
|
|||
apkbuild = pmb.helpers.pmaports.get(meta)
|
||||
groups = apkbuild["_pmb_groups"]
|
||||
if groups:
|
||||
logging.debug(f"{meta}: install _pmb_groups:" f" {', '.join(groups)}")
|
||||
logging.debug(f"{meta}: install _pmb_groups: {', '.join(groups)}")
|
||||
ret += groups
|
||||
|
||||
# UI-extras subpackage
|
||||
|
@ -29,7 +29,7 @@ def get_groups(config: Config) -> list[str]:
|
|||
if config.ui_extras and meta_extras in apkbuild["subpackages"]:
|
||||
groups = apkbuild["subpackages"][meta_extras]["_pmb_groups"]
|
||||
if groups:
|
||||
logging.debug(f"{meta_extras}: install _pmb_groups:" f" {', '.join(groups)}")
|
||||
logging.debug(f"{meta_extras}: install _pmb_groups: {', '.join(groups)}")
|
||||
ret += groups
|
||||
|
||||
return ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue