ESCOMP / ESCOMP/CTSM

Start using a FORTRAN formatter for our code and remove the vertical alignment

Open
#2,145 1 comment 0 reactions 0 assignees View on GitHub
b4b code health good first issue priority: low
Dominant language
Fortran
Stars
352
Forks
361
Avg merge
2d 21h
Merged PRs (30d)
7

Description

In #2144 we decided to stop adding vertical alignment in our code. With that we should remove all of the current vertical alignment in the code. But, we want to use a tool to do it for us.

@adrifoster pointed to fprettify which does for FORTRAN code. We aren't sure if that's the right formatter to use, but it's one of the few that can be used for FORTRAN. We could also develop our own, but that might not be worth the effort.

Definition of Done:
- [ ] Choose or develop a formatter for FORTRAN
- [ ] Decide if we need this for perl or XML as well?
- [ ] Run it on all of the FORTRAN code
- [ ] Make a tag with the update making sure it all works
- [ ] Add a precommit option to run this for us
- [ ] Add a github action to check it for PR's

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.