From d9ffdd686ff3307d84c36b566dc48cacc37ca393 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Fri, 1 Nov 2024 14:41:41 +0100 Subject: [PATCH] test/scripts: pylint: disable=too-many-positional-arguments Pylint recently grew a new issue type 'too-many-positional-arguments', which is separate from the more general 'too-many-arguments'. Our offending functions match both. --- test/scripts/boot-image | 2 +- test/scripts/imgtestlib.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scripts/boot-image b/test/scripts/boot-image index 404ffae76f..af842188aa 100755 --- a/test/scripts/boot-image +++ b/test/scripts/boot-image @@ -64,7 +64,7 @@ def ensure_uncompressed(filepath): def cmd_boot_aws(arch, image_name, privkey, pubkey, image_path, script_cmd): - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-positional-arguments aws_config = get_aws_config() cmd = ["go", "run", "./cmd/boot-aws", "run", "--access-key-id", aws_config["key_id"], diff --git a/test/scripts/imgtestlib.py b/test/scripts/imgtestlib.py index 495010d3b3..becc4e6fea 100644 --- a/test/scripts/imgtestlib.py +++ b/test/scripts/imgtestlib.py @@ -200,7 +200,7 @@ def check_config_names(): def gen_manifests(outputdir, config_map=None, distros=None, arches=None, images=None, commits=False, skip_no_config=False): - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-positional-arguments cmd = ["go", "run", "./cmd/gen-manifests", "--cache", os.path.join(TEST_CACHE_ROOT, "rpmmd"), "--output", outputdir,