fprettify

Auto-formatter for modern Fortran source code with customizable style

brewmacoslinux
Try with needOr install directly
Source

About

Auto-formatter for modern fortran source code

Commands

fprettify

Examples

Format a Fortran file in-place$ fprettify myprogram.f90
Format a file and display output without modifying$ fprettify --diff myprogram.f90
Format with custom indentation of 3 spaces$ fprettify --indent 3 myprogram.f90