fortran-lang / fprettify

auto-formatter for modern fortran source code
https://pypi.python.org/pypi/fprettify
Other
370 stars 76 forks source link

feature request: prevent fprettify from separating <<<,>>> #124

Open edoyango opened 2 years ago

edoyango commented 2 years ago

cuda fortran makes use of multiple chevrons to indicate kernel launch configurations. fprettify seperates these chevrons. Example:

before fprettify: call example_subroutine<<<32,32>>>(arg1, arg2, arg3) after fprettify: call example_subroutine < < < 32, 32 > > > (arg1, arg2, arg3)

Can the minimal spacing of the consecutive chevron's be maintained by fprettify?