You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example can be this example file, for reference called test.f90:
PROGRAM TestModule
implicit nonecall test()
containssubroutinetest()
INTEGER i
DO i =1, 2print*, i
ENDDOendsubroutineend program TestModule
I expected python3 ./fprettify.py test.f90 --case 1 1 1 1 ----disable-whitespace to set all lower cased intrinsics, but it has no effect at all.
During debugging I found out that this formatting is done in format_single_fline(), and is only called when impose_whitespace is True (!=--disable-whitespace).
Doing the following code change will get my expectations fulfilled:
An example can be this example file, for reference called
test.f90
:I expected
python3 ./fprettify.py test.f90 --case 1 1 1 1 ----disable-whitespace
to set all lower cased intrinsics, but it has no effect at all.During debugging I found out that this formatting is done in
format_single_fline()
, and is only called whenimpose_whitespace
is True (!=
--disable-whitespace
).Doing the following code change will get my expectations fulfilled:
Then this is the result of
python3 ./fprettify.py test.f90 -d -s --disable-whitespace --case 1 1 1 1
The code change above is not a fix that can be committed, since it breaks many test cases.
The text was updated successfully, but these errors were encountered: