Fprettify Versions Save

auto-formatter for modern fortran source code

v0.3.7

3 years ago

Important notice: this release drops Python 2 support

new defaults:

  • support for submodules (@han190)
  • formatting of end statements (@helmutwecke)
  • indentation for forall and where (@helmutwecke)
  • indentation rules for fypp preprocessor statements (@helmutwecke)

fixes:

  • support for multiline strings
  • parsing of +/- in addition/subtraction

New options:

  • --config-file for custom configuration file (@ellio167)
  • --diff (@jhaiduce)
  • --exclude to exclude files from recursive file search (@jhaiduce)
  • --case letter case formatting of Fortran intrinsics (@meteokid)
  • --disable-indent-mod disable indentation after module / program
  • --enable-decl whitespace formatting for variable declarations (::)

v0.3.6

4 years ago

v0.3.5

4 years ago

bug fixes

v0.3.4

4 years ago
  • use of config files (via optional dependency configargparse) (contributed by @dbroemmel)
  • more options for whitespace formatting and line-length (contributed by @dbroemmel)
  • more intrinsic statements recognised (contributed by @dbroemmel)
  • option to replace relational statements (contributed by @dbroemmel)
  • alignment of use statements
  • various bug fixes

v0.3.3

5 years ago
  • more customizable and more formatting options
  • support for multiline strings and statement labels
  • compatibility with fypp preprocessor directives
  • various bug fixes

v0.3.2

6 years ago

Mostly bug fixes

v0.3.1

7 years ago
  • Tested with large Fortran code base
  • Improved support for Fortran 2003 / 2008
  • Bug fixes
  • Unicode support

v0.3

7 years ago

proper Python packaging

v0.2

7 years ago
  • more stable for incomplete syntax
  • Support more Fortran 03/08 constructs
  • Proper testing
  • Python style fixes

v0.1

7 years ago
  • Extract stable and useful features from cp2k fprettify
  • Examples and improved tester
  • add README.md