Introduces a git pre-commit hook to run bin/recog_standardize on any staged XML fingerprint files. This will help contributors verify that each fingerprint asserts known identifiers. These changes required enhancement of bin/recog_standardize to return an exit code in order to support scripting.
Motivation and Context
Explanation of why these changes are being proposed, including any links to other relevant issues or pull requests.
Help contributors catch concerns before changes are committed and pull requests are opened. Save everyone a little time and help get contributions merged quicker!
How Has This Been Tested?
New field names and new field values were added to xml fingerprints, then attempted to commit the changes to trigger the pre-commit hook script.
Types of changes
New feature (non-breaking change which adds functionality)
Checklist:
[x] I have updated the documentation accordingly (or changes are not required).
[x] I have added tests to cover my changes (or new tests are not required).
Description
Introduces a git pre-commit hook to run
bin/recog_standardize
on any staged XML fingerprint files. This will help contributors verify that each fingerprint asserts known identifiers. These changes required enhancement ofbin/recog_standardize
to return an exit code in order to support scripting.Motivation and Context
Explanation of why these changes are being proposed, including any links to other relevant issues or pull requests. Help contributors catch concerns before changes are committed and pull requests are opened. Save everyone a little time and help get contributions merged quicker!
How Has This Been Tested?
New field names and new field values were added to xml fingerprints, then attempted to commit the changes to trigger the pre-commit hook script.
Types of changes
Checklist: