forked from Mirror/pmbootstrap
pmb: Add more type hints (MR 2513)
And fix some consequential type errors. [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
c8194302fc
commit
0925b3e425
12 changed files with 69 additions and 19 deletions
|
@ -285,6 +285,8 @@ def config(args: PmbArgs) -> None:
|
|||
|
||||
|
||||
def repo_missing(args: PmbArgs) -> None:
|
||||
if args.arch is None or isinstance(args.package, list):
|
||||
raise AssertionError
|
||||
missing = pmb.helpers.repo_missing.generate(args.arch, args.overview, args.package, args.built)
|
||||
print(json.dumps(missing, indent=4))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue