Skip to content

Commit 32544da

Browse files
committed
fix: Disable pylint on affected parts of code only
1 parent a16c2c0 commit 32544da

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

operatorcert/entrypoints/index.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
IIB module for building a index images for a bundle
33
"""
44

5-
# pylint: disable=duplicate-code
6-
75
import argparse
86
import logging
97
import 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],

0 commit comments

Comments
 (0)