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
|
@ -78,12 +78,12 @@ def run(
|
|||
|
||||
if no_reboot and ("flash" not in action or method != "heimdall-bootimg"):
|
||||
raise RuntimeError(
|
||||
"The '--no-reboot' option is only" " supported when flashing with heimall-bootimg."
|
||||
"The '--no-reboot' option is only supported when flashing with heimall-bootimg."
|
||||
)
|
||||
|
||||
if resume and ("flash" not in action or method != "heimdall-bootimg"):
|
||||
raise RuntimeError(
|
||||
"The '--resume' option is only" " supported when flashing with heimall-bootimg."
|
||||
"The '--resume' option is only supported when flashing with heimall-bootimg."
|
||||
)
|
||||
|
||||
# Run the commands of each action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue