-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CASE option fails in config file #94
Comments
I get the same error message from the command line. This is expected because
This is a bit cryptic at the moment because it's intended to be fully customizable. For instant, if you want to uppercase all intrinsics, use |
I misspoke my problem. By the way, the help message for |
Ah I understand, thanks a lot for reporting. |
In case anybody runs into this, the original error message was likely caused by a wrong format in the config file.
See: https://pypi.org/project/ConfigArgParse/#special-values The same format also work for the |
I also added a bunch of tests to test this functionality. The new tests also cover the fix for fortran-lang#94.
Hy,
When
--case
option is used in a config file (using-c
option), an error message is returned :<path>/fprettify: error: argument --case: expected 4 arguments
If
--case
is used from the command line (with same arguments), everything works fine.Other tested options work well in command line and config file.
Used version : 0.3.7 from pip
Otherwise fprettify is a great tool !
The text was updated successfully, but these errors were encountered: