Skip to content

Conversation

@r-sharp
Copy link
Contributor

@r-sharp r-sharp commented Dec 18, 2025

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

  • I have performed a self-review of my own changes

Roddy Sharp and others added 30 commits July 3, 2025 13:40
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
…p3_checkas I think Perl did it for both cases..
methodology. Plus making the branch processing of files changes return a list.
hints as at every step it suggests something else...
The files I added some time ago are no longer there...
r-sharp and others added 5 commits December 18, 2025 17:30
Again, a file I thought I'd deleted prior to creating the pull request.
Some of which seem to be reversing line breaking it imposed last time I ran it.
It also now makes more of these files fail flake8 and pylint -//Super//
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.

2 participants