Toyproject to do some linting in our fortran code
April 8, 2018 ยท View on GitHub
Toyproject to do some linting in our fortran code
This tool aims to do code transformations and create warnings. It is python based to be very usable and not production ready.
IT CAN NOT BE TRUSTED!
Features
Static Analysis
- warn for missing
implicit none - warn for usage of
FORMATlabels
Formatting
- format variable declarations to align
:: - align trailing comments
Other interesting tools
- fortran-syntax Linter
- fprettify CodeFormatter
- CamFort Verification
Notes
The formatting capabilities are not very advanced, but complement fprettify.
Use fprettify for most of the formatting and use flint afterwards for
specific issues.