fprettify
fprettify copied to clipboard
config file example
Could an example config file be provided? I can't seem to be able to format it properly to support the CASE argument.
Thank you for your work!
I use following config file: Please let me know if you need more information.
case = [2,2,2,2]
line-length = 78
indent = 2
disable-indent = false
strict-indent = true
whitespace = 2
whitespace-comma = true
whitespace-assignment = true
enable-decl = true
whitespace-decl = true
whitespace-relational = true
whitespace-logical = true
whitespace-multdiv = true
whitespace-print = true
whitespace-type = false
whitespace-intrinsics = true
fprettify uses ConfigArgParse
for its command line interface. Have a look at their examples for an intro to the config files
Can you tell me where should I put such config file so that fprettify use the specified configurations upon call?
@Bruno
One of the discussion on fortran-lang provided an example of application of a fprettify config file - possibly equally suitable for you as reference:
https://fortran-lang.discourse.group/t/fprettify-patrick-seewald-seeks-collaborator/4199/10