forked from Mirror/pmbootstrap
Auto-format codebase with ruff (MR 2325)
See: https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2324 Closes: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2278
This commit is contained in:
parent
5a8e2c6cad
commit
e421bb2d41
109 changed files with 4044 additions and 2984 deletions
|
@ -9,10 +9,11 @@ from pmb.helpers import run
|
|||
from pmb.core.context import get_context
|
||||
import pmb.config
|
||||
|
||||
|
||||
class Log(commands.Command):
|
||||
clear_log: bool
|
||||
lines: int
|
||||
|
||||
|
||||
def __init__(self, clear_log: bool, lines: int):
|
||||
self.clear_log = clear_log
|
||||
self.lines = lines
|
||||
|
@ -38,4 +39,3 @@ class Log(commands.Command):
|
|||
cmd += [context.log]
|
||||
|
||||
run.user(cmd, output="tui")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue