-
Notifications
You must be signed in to change notification settings - Fork 216
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
Fix pylint errors #1490
Fix pylint errors #1490
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened issue #1488 because I would prefer not to have a mix of format and %s in the code. I would like all of the code to use %s for now and format in version 5.4. So can we remove the logging-format-interpolation flag along with the use of format?
@jedwards4b This PR will get us back to a passing state in the nightlies, the question of string format can be decided later. The ignored waring is useless in either case. |
Update to cime5.3-alpha10 Pulling in another 2 weeks of CIME changes into ACME. CIME hash 15297cd from May 2. Required bug fixes for: Changing error to warning for using "-id" with single dash acme templates missing "arg =" Restore pio1 Cmake path pointing to pio2/cmake Update to gcc5.3.0 to avoid internal compiler error Still had 2 fails of acme_developer on penn machine, but look to be weird gcc issues -- var tracking overflow. Same tests passed on redsky, so expecting it will pass on ACME machines. [BFB] * agsalin/update-to-cime5.3.1: (219 commits) Add fix to bug in docn that was in this cime version Fix upstream merge resolution mistake Bug fix: Handle failures to get mem usage from baselines Make single-dash before multichar arg a warning Fix acme template change for new parser Update Sandia worksations to gcc5.3.0 Comment out invalid_args check Revert change in pio1 to point into pio2/cmake Fix single submit Add tests Do not override walltime unless test Update ChangeLog nag compiler needs a width Add checks to verify the create_newcase directory was created as expected removed unpack commented region fix typo in parse_args Bug fixes Minor pylint fix fix pylint issues rename function ...
Update to cime5.3-alpha10 Pulling in another 2 weeks of CIME changes into ACME. CIME hash 15297cd from May 2. Required bug fixes for: Changing error to warning for using "-id" with single dash acme templates missing "arg =" Restore pio1 Cmake path pointing to pio2/cmake Update to gcc5.3.0 to avoid internal compiler error Still had 2 fails of acme_developer on penn machine, but look to be weird gcc issues -- var tracking overflow. Same tests passed on redsky, so expecting it will pass on ACME machines. [BFB] * agsalin/update-to-cime5.3.1: (219 commits) Add fix to bug in docn that was in this cime version Fix upstream merge resolution mistake Bug fix: Handle failures to get mem usage from baselines Make single-dash before multichar arg a warning Fix acme template change for new parser Update Sandia worksations to gcc5.3.0 Comment out invalid_args check Revert change in pio1 to point into pio2/cmake Fix single submit Add tests Do not override walltime unless test Update ChangeLog nag compiler needs a width Add checks to verify the create_newcase directory was created as expected removed unpack commented region fix typo in parse_args Bug fixes Minor pylint fix fix pylint issues rename function ...
Update to cime5.3-alpha10 Pulling in another 2 weeks of CIME changes into ACME. CIME hash 15297cd from May 2. Required bug fixes for: Changing error to warning for using "-id" with single dash acme templates missing "arg =" Restore pio1 Cmake path pointing to pio2/cmake Update to gcc5.3.0 to avoid internal compiler error Still had 2 fails of acme_developer on penn machine, but look to be weird gcc issues -- var tracking overflow. Same tests passed on redsky, so expecting it will pass on ACME machines. [BFB] * agsalin/update-to-cime5.3.1: (219 commits) Add fix to bug in docn that was in this cime version Fix upstream merge resolution mistake Bug fix: Handle failures to get mem usage from baselines Make single-dash before multichar arg a warning Fix acme template change for new parser Update Sandia worksations to gcc5.3.0 Comment out invalid_args check Revert change in pio1 to point into pio2/cmake Fix single submit Add tests Do not override walltime unless test Update ChangeLog nag compiler needs a width Add checks to verify the create_newcase directory was created as expected removed unpack commented region fix typo in parse_args Bug fixes Minor pylint fix fix pylint issues rename function ...
Also, add logging-format-interpolation to list of pylint warnings we don't care about. That way, we can use python3 string formatting without getting warnings.
Test suite: code_checker
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes #1488
User interface changes?: None
Code review: @JEdwards