I have formatted every .f90 & .f95 file in the entire GITM/ repository.
MASSIVE number of changes, but nothing substantial. All changes are purely stylistic, outputs have been checked & do not change at all.
Detailed changes
Two new files to help check formatting & make sure everything is consistent
Enforce the same formatting everywhere. Guidelines:
indentation of 2 spaces
whitespace around operators
hanging indent in multi-line calculation (much easier to read)
try keeping all operators at start of next line. I know I missed a lot of these though.
STRICT max line length of 120 characters. most under 88.
Python routine checks these things & can automatically fix most things (with fprettify)
.fprettify.rc has settings so everything is reproducible.
Couldn't modify a few files, they're listed in the .rc file. .f, templates, and Venus.f90 were either incomplete or were not able to be formatted the same as everything else.
The style guidelines are easy to change and I can update this PR if it's decided that we want to go with different guidelines.
sty: Formatting fix!
Short summary
I have formatted every .f90 & .f95 file in the entire GITM/ repository.
MASSIVE number of changes, but nothing substantial. All changes are purely stylistic, outputs have been checked & do not change at all.
Detailed changes
fprettify
).fprettify.rc
has settings so everything is reproducible.The style guidelines are easy to change and I can update this PR if it's decided that we want to go with different guidelines.