Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve issue #4576 #4597

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

CollinsEM
Copy link
Contributor

Fixes pylint failures when running regression tests.

SUMMARY

This patch fixes the pylint failures observed when running the regression tests using python 3.9.2.

ISSUE

While running the regression script, the pylint checks are failing due
to Python being unable to resolve the sys module. The failure occurs
in line 30 of cime/scripts/lib/CIME/code_checker.py.

RESOLUTION

Line 30 was modified to include import sys; prior to the invocation
of sys.path.extend.

Test suite: scripts_regression_test
Test baseline: failing pylint checks
Test namelist changes: none
Test status: passing pylint checks

Fixes CIME issue #4576

User interface changes?: none

Update gh-pages html (Y/N)?: N

This patch fixes the pylint failures observed when running the regression tests using python 3.9.2.
Copy link
Contributor

@jedwards4b jedwards4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@jedwards4b jedwards4b merged commit c27b44e into ESMCI:master Aug 21, 2024
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants