Closed climbfuji closed 2 years ago
The issue before was not the whitespace change but why you are choosing to add unrelated changes to a bugfix PR. To quote a developer I know:
I think we should try to be good stewards of GitHub code change practices and create smaller PRs that contain logically related changes but nothing else / not much else otherwise going forward.
Except that there is a difference between removing a newline when changes that are bug fixes do shorten the lines so that they fit within reasonable limits or othewise require adjusting the indentation for the second line (and all this on 19 lines in a single file), and thousands of lines of code changes that are unrelated in one PR ...
At any rate, I committed your suggestion and changed all other occurrences to match it. Note that your suggested change also removed the newline (https://github.com/NCAR/ccpp-framework/pull/412/commits/45415b5c1d1b2bb37c8b7312ce2bdfc8229d58f4).
Except that there is a difference between removing a newline when changes that are bug fixes do shorten the lines so that they fit within reasonable limits ...
My issue is that unless we have a definition of "reasonable limits", we will keep having this problem.
Description
This PR fixes the CI test failures reported in https://github.com/NCAR/ccpp-framework/issues/411.
It also bumps up the pylint rating for
test/unit_tests/test_metadata_table.py
from below 9 to 10/10 (yay) by removing the unused variabletables
in many places.Caveats
When running
locally (this is what the GitHub workflow/CI test does), I still get several warnings: