fprettify icon indicating copy to clipboard operation
fprettify copied to clipboard

auto-formatter for modern fortran source code

Results 78 fprettify issues
Sort by recently updated
recently updated
newest added

The CI workflow needs some improvements 1. Should the enable CI on Windows if possible 2. PyPi testing for versions 3.7+ 3. Do we need to test with anaconda?, since...

Our CI tests throw multiple exceptions, here is the first instance https://github.com/pseewald/fprettify/runs/8113952328?check_suite_focus=true#step:6:85 but if you scroll down you will find more. This issue can be replicated locally as well.

testing

This project currently does not have any explicit contributing guidelines. It would be nice to have some guidelines on reporting issues, contributing patches, etc..

I'm looking for collaborators who'd like to help me maintain this repository. Since I'm no longer an active Fortran developer, I'd like to slowly handover this project. If you're interested,...

help wanted
Discussion

I have an old legacy code that is poorly formatted. Most of the lines that should be split are a command "write", and I should be able to define some...

enhancement

Hi, I recently started using fprettify and I'm liking it very much. **Feature Request:** Currently, fprettify indents function/subroutine arguments to the opening of the bracket ... like this. ```fortran call...

It would be great to have a way to programmatically vertically align code. e.g.: this: ``` logical, intent(in) :: doalb ! true if time for surface albedo calc real(r8), intent(in)...

Let me have unformatted code: ```fortran #ifdef foo subroutine bla(x) #else subroutine bla(x,y) #endif [do something] end subroutine subroutine bar ``` I would expect [do something] to be indented once,...

Relational operators may be confused with variable names in longer conditional statements. Take, e.g. ```fortran if ( a .gt. b .and. ne .lt. c) ``` which will be re-formatted to...