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

Fix pylint errors #1490

Merged
merged 1 commit into from
May 8, 2017
Merged

Fix pylint errors #1490

merged 1 commit into from
May 8, 2017

Conversation

jgfouca
Copy link
Contributor

@jgfouca jgfouca commented May 8, 2017

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

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.

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?

@jgfouca
Copy link
Contributor Author

jgfouca commented May 8, 2017

@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.

@jedwards4b jedwards4b merged commit 93a452a into master May 8, 2017
@jgfouca jgfouca deleted the jgfouca/fix_pylint_errs branch May 9, 2017 23:24
jgfouca added a commit that referenced this pull request Jun 2, 2017
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
  ...
jgfouca added a commit that referenced this pull request Feb 23, 2018
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
  ...
jgfouca added a commit that referenced this pull request Mar 13, 2018
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
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants