mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
pmb: Add lots of type hints (MR 2464)
This commit is contained in:
parent
d05d57b37e
commit
225d8b30a0
71 changed files with 566 additions and 325 deletions
|
@ -45,7 +45,7 @@ def get_custom_valid_options() -> list[str]:
|
|||
# FIXME: dest_paths[repo], repo expected to be a Literal.
|
||||
# We should really make Config.mirrors not a TypedDict.
|
||||
# mypy: disable-error-code="index"
|
||||
def check(pkgnames: Sequence[str]):
|
||||
def check(pkgnames: Sequence[str]) -> None:
|
||||
"""Run apkbuild-lint on the supplied packages.
|
||||
|
||||
:param pkgnames: Names of the packages to lint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue