Skip to content

Commit

Permalink
Merge pull request #4597 from CollinsEM/fix-pylint-issue-4576
Browse files Browse the repository at this point in the history
Resolve issue #4576
  • Loading branch information
jedwards4b authored Aug 21, 2024
2 parents 22eed88 + dacfa02 commit c27b44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CIME/code_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _run_pylint(all_files, interactive):
# cmd_options +=",relative-import"

# add init-hook option
cmd_options += ' --init-hook=\'sys.path.extend(("%s","%s","%s","%s"))\'' % (
cmd_options += ' --init-hook=\'import sys; sys.path.extend(("%s","%s","%s","%s"))\'' % (
os.path.join(cimeroot, "CIME"),
os.path.join(cimeroot, "CIME", "Tools"),
os.path.join(cimeroot, "scripts", "fortran_unit_testing", "python"),
Expand Down

0 comments on commit c27b44e

Please sign in to comment.