Skip to content

Commit

Permalink
test/scripts: pylint: disable=too-many-positional-arguments
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
achilleas-k authored and supakeen committed Nov 1, 2024
1 parent d6365bd commit d9ffdd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/scripts/boot-image
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/imgtestlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d9ffdd6

Please sign in to comment.