Skip to content

Commit

Permalink
Change to upper-case to prevent a pylint issue on izumi: C0103: Const…
Browse files Browse the repository at this point in the history
…ant name valid_opts doesn't conform to UPPER_CASE naming style (invalid-name)
  • Loading branch information
ekluzek committed May 16, 2022
1 parent 8cb27be commit e2ce638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/ctsm/gen_mksurf_namelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
logger = logging.getLogger(__name__)

## valid options for resolution and SSP scenarios:
valid_opts = {
VALID_OPTS = {
"res": [
"512x1024",
"360x720cru",
Expand Down Expand Up @@ -187,7 +187,7 @@ def get_parser():
action="store",
dest="ssp_rcp",
required=False,
choices=valid_opts["ssp_rcp"],
choices=VALID_OPTS["ssp_rcp"],
default="hist",
)

Expand Down Expand Up @@ -264,7 +264,7 @@ def get_parser():
""",
action="store",
dest="res",
choices=valid_opts["res"],
choices=VALID_OPTS["res"],
required=False,
default="4x5",
)
Expand Down

0 comments on commit e2ce638

Please sign in to comment.