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

Jgfouca/add code checking #267

Merged
merged 7 commits into from
Jul 19, 2016
Merged

Jgfouca/add code checking #267

merged 7 commits into from
Jul 19, 2016

Conversation

jgfouca
Copy link
Contributor

@jgfouca jgfouca commented Jul 19, 2016

Add a new tool that checks that all python library source files are 100% clean for a certain configuration of pylint. Fix all pylint errors discovered by the tool. Add a test to run this tool every night.

Test suite: scripts_regression_tests
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes: [CIME Github issue #]

User interface changes?:

Code review: @jedwards4b

@jgfouca
Copy link
Contributor Author

jgfouca commented Jul 19, 2016

@jedwards4b : Tests currently running, I'll let you know when they pass.

#!/usr/bin/env python

"""
Ensure that all CIME python files are free of errors
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the new tool.

@jgfouca
Copy link
Contributor Author

jgfouca commented Jul 19, 2016

Annotations complete.

@jedwards4b
Copy link
Contributor

Looks good to me, can you resolve conflicts and test again before merging?

@jgfouca jgfouca merged commit de33082 into master Jul 19, 2016
jgfouca added a commit that referenced this pull request Jul 19, 2016
Add a new tool that checks that all python library source files are
100% clean for a certain configuration of pylint. Fix all pylint
errors discovered by the tool. Add a test to run this tool every
night.

Test suite: scripts_regression_tests
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes: [CIME Github issue #]

User interface changes?:

Code review: @jedwards4b

* jgfouca/add_code_checking:
  Fix a couple remaining pylint issues
  Made code_checker parallel, fix test name so it actually runs
  Fix remaining test failures
  Bug fix
  All scripts passing
  Add code checker test. Remove refactor disablings from scripts_regression_tests.py
  Progress. Tool added. build.py 100%

Conflicts:
	utils/python/CIME/case_setup.py
@jgfouca jgfouca deleted the jgfouca/add_code_checking branch July 19, 2016 22:19
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