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
I know you can specify different config parsers. I haven't tried doing that, but if that works, would it not be a good idea to change the config parser to use a the correct config file parser based on known file types and revert to the default one if it doesn't recognize the file type?
The text was updated successfully, but these errors were encountered:
Consider the program (
test.py
):With the config file (
test.toml
):When running this you get an error. Presumably because the config parser is trying to allow for many different config formats at once.
If you change the list to one line instead, it works. With the caveat that the trailing
,
causes issues.I know you can specify different config parsers. I haven't tried doing that, but if that works, would it not be a good idea to change the config parser to use a the correct config file parser based on known file types and revert to the default one if it doesn't recognize the file type?
The text was updated successfully, but these errors were encountered: