File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22IIB module for building a index images for a bundle
33"""
44
5- # pylint: disable=duplicate-code
6-
75import argparse
86import logging
97import os
@@ -23,6 +21,8 @@ def setup_argparser() -> argparse.ArgumentParser: # pragma: no cover
2321 Any: Initialized argument parser
2422 """
2523 parser = argparse .ArgumentParser (description = "Add bundle to index image" )
24+
25+ # pylint: disable=duplicate-code
2626 parser .add_argument (
2727 "--bundle-pullspec" , required = True , help = "Operator bundle pullspec"
2828 )
@@ -71,7 +71,7 @@ def setup_argparser() -> argparse.ArgumentParser: # pragma: no cover
7171 return parser
7272
7373
74- def add_bundle_to_index ( # pylint: disable=too-many-arguments,too-many-positional-arguments
74+ def add_bundle_to_index ( # pylint: disable=too-many-arguments,too-many-positional-arguments,duplicate-code
7575 bundle_pullspec : str ,
7676 iib_url : str ,
7777 indices : List [str ],
You can’t perform that action at this time.
0 commit comments