forked from Mirror/pmbootstrap
pmb.helpers.frontend: Add some type hints (MR 2262)
This commit is contained in:
parent
a78486e9e4
commit
e812fafdee
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ import pmb.netboot
|
|||
import pmb.parse
|
||||
import pmb.qemu
|
||||
import pmb.sideload
|
||||
from argparse import Namespace
|
||||
|
||||
|
||||
def _parse_flavor(args, autoinstall=True):
|
||||
|
@ -608,7 +609,7 @@ def lint(args):
|
|||
pmb.helpers.lint.check(args, packages)
|
||||
|
||||
|
||||
def status(args):
|
||||
def status(args: Namespace) -> None:
|
||||
if not pmb.helpers.status.print_status(args, args.details):
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue