fprettify
fprettify copied to clipboard
auto-formatter for modern fortran source code
Consider the following code: ```fortran PROGRAM UNARY IMPLICIT NONE INTEGER :: a, b a = -42 b = -a WRITE (*, '(2I6)') -a, -b END PROGRAM ``` Here all the...
cuda fortran makes use of multiple chevrons to indicate kernel launch configurations. fprettify seperates these chevrons. Example: before fprettify: `call example_subroutine(arg1, arg2, arg3)` after fprettify: `call example_subroutine < < <...
First of all, thank you very much for developing this great package. In the current version, fprettify removes the consecutive and trailing blank lines. However, some programmers may like to...
So I installed the latest Python and installed fprettify package. All was installed successfully. Now when I go to the Python terminal prompt it says: >>> fprettify C:\Users\Dude\Documents\Code\CP.F90 File "",...
Hi, Thank you for this wonderful tool. Is there any way it can be called from within the python code with string as input and returns formatted string as output?
It would be nice if unnecessary semicolons at the ends of lines could be automatically removed. Example: ```fortran program test implicit none; integer :: n; ! semicolon not mandatory end...
It seems that fprettify 0.3.7 does not indent [FORD comments](https://github.com/Fortran-FOSS-Programmers/ford/wiki/Writing-Documentation) starting with `!!`. ```fortran module foods implicit none #:for i in [1, 2, 3] #:for j in [1, 2, 3]...
It would be nice if `fprettify` could have an ability to normalize string literal quotes to either `""` or `''` according to user preferences. This normalization should not change the...
Running unit tests outside of the main repository fails since `fprettify.tests` is not installed. Output from conda-build when trying to test `fprettify` installation: ``` ## Package Plan ## environment location:...
Hello, It is mentioned in an issue of Fortran stdlib ([Add blank lines between procedures](https://github.com/fortran-lang/stdlib/issues/546)) that there is a lack of blank lines between procedures in the `f90` files generated...