Toyproject to do some linting in our fortran code

April 8, 2018 ยท View on GitHub

Build Status

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 FORMAT labels

Formatting

  • format variable declarations to align ::
  • align trailing comments

Other interesting tools

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.