Skip to content
Snippets Groups Projects
Unverified Commit 3d60673f authored by Newbyte's avatar Newbyte :snowflake:
Browse files

pmb.commands.kconfig_check: Annotate None return types (MR 2411)

Otherwise we don't get type checking in these functions.
parent c7a7fee9
No related branches found
No related tags found
1 merge request!2411pmb: Migrate pkgrel_bump to Command + pmb.commands: Migrate if ... else chain to match
......@@ -17,13 +17,13 @@ class KConfigCheck(commands.Command):
packages: list[str]
keep_going: bool
def __init__(self, details, file, packages, keep_going):
def __init__(self, details, file, packages, keep_going) -> None:
self.details = details
self.file = file
self.packages = packages
self.keep_going = keep_going
def run(self):
def run(self) -> None:
# Build the components list from cli arguments (--waydroid etc.)
components_list: list[str] = []
error_msg = "kconfig check failed! More info: https://postmarketos.org/kconfig"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment