From 6b8fa93d37aaec2bca9ad41fb13030db86369c8f Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 21 Oct 2021 09:49:38 +0200 Subject: [PATCH] pmb.parse.kconfig.check: git friendly arguments (MR 2133) Put each component argument into a separate line, as these get changed whenever adding a new kernel config check. I'm about to add two new ones. --- pmb/parse/kconfig.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pmb/parse/kconfig.py b/pmb/parse/kconfig.py index e5d36020..3da7e11c 100644 --- a/pmb/parse/kconfig.py +++ b/pmb/parse/kconfig.py @@ -65,7 +65,10 @@ def check_option(component, details, config, config_path_pretty, option, def check_config(config_path, config_path_pretty, config_arch, pkgver, - anbox=False, nftables=False, containers=False, zram=False, + anbox=False, + nftables=False, + containers=False, + zram=False, details=False): logging.debug(f"Check kconfig: {config_path}") with open(config_path) as handle: @@ -123,8 +126,12 @@ def check_config_options_set(config, config_path_pretty, config_arch, options, return ret -def check(args, pkgname, force_anbox_check=False, force_nftables_check=False, - force_containers_check=False, force_zram_check=False, details=False): +def check(args, pkgname, + force_anbox_check=False, + force_nftables_check=False, + force_containers_check=False, + force_zram_check=False, + details=False): """ Check for necessary kernel config options in a package.