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
|
@ -14,16 +14,19 @@ Env = Dict[str, PathString]
|
|||
# state of things so that we can improve our type hinting coverage and make
|
||||
# future refactoring efforts easier.
|
||||
|
||||
|
||||
class PartitionLayout(TypedDict):
|
||||
kernel: Optional[int]
|
||||
boot: int
|
||||
reserve: Optional[int]
|
||||
root: int
|
||||
|
||||
|
||||
class AportGenEntry(TypedDict):
|
||||
prefixes: List[str]
|
||||
confirm_overwrite: bool
|
||||
|
||||
|
||||
# Property list generated with:
|
||||
# $ rg --vimgrep "((^|\s)args\.\w+)" --only-matching | cut -d"." -f3 | sort | uniq
|
||||
class PmbArgs(Namespace):
|
||||
|
@ -153,4 +156,3 @@ class PmbArgs(Namespace):
|
|||
work: Path
|
||||
xauth: str
|
||||
zap: str
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue