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
|
@ -228,7 +228,7 @@ def package_kernel(args: PmbArgs) -> None:
|
|||
"""Frontend for 'pmbootstrap build --envkernel': creates a package from envkernel output."""
|
||||
pkgname = args.packages[0]
|
||||
if len(args.packages) > 1 or not pkgname.startswith("linux-"):
|
||||
raise RuntimeError("--envkernel needs exactly one linux-* package as " "argument.")
|
||||
raise RuntimeError("--envkernel needs exactly one linux-* package as argument.")
|
||||
|
||||
aport = pmb.helpers.pmaports.find(pkgname)
|
||||
context = get_context()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue