-
Notifications
You must be signed in to change notification settings - Fork 11
Umdp3 checker in python #153
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
base: main
Are you sure you want to change the base?
Conversation
investigations as to whether it's worked and how it can be improved.
and is to std out whereas the origianl wrote to std err. It's not clear if the Python version terminated after the first file with errors, or genuinely didn't spot the errors in the other files. Branch used to look for errors is : https://code.metoffice.gov.uk/svn/um/main/branches/dev/roddysharp/vn13.9_deliberate_umdp3_failures
… all the edited files.
… in trunk mode...
…p3_checkas I think Perl did it for both cases..
…or a Trunk in suite..
methodology. Plus making the branch processing of files changes return a list.
…clarity and to reduce the size of umdp3.py.
hints as at every step it suggests something else...
yaswant
left a comment
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.
Few minor cosmetic change suggestions for clarity and around docstring rules (https://peps.python.org/pep-0257/) for your consideration.
We'll aim to use consistent Copyright statements according to the guidelines in https://github.com/MetOffice/Momentum/blob/main/docs/COPYRIGHT_TEMPLATE.
yaswant
left a comment
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.
...and few missed in last review.
|
over to you @r-sharp |
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Sci/Tech Reviewer: @jennyhickson
Code Reviewer: @yaswant
Description
Summary
Replacing the old Perl umdp3 compliance checking script with a half baked Python one.
Changes
Remove all old Perl files.
Add Python translations after some heavy refactoring.
This provides a framework, and some very simple tests to run on Fortran code.
It will need some tweaking as we stumble over the defficiencies we see when used in anger.
Impact
Replaces a set of Perl scripts which was hardwired to FCM to a Python version capable of using git_bdiff
Issues addressed
Resolves
One of the last remaining Perl script uses in the toolset
Hardwiring of our style checker to FCM
Checklist