-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Yaml config not working #885
Comments
I found the solution: I've other yaml file in the repository, so when using Forcing to load "config.yaml" file in |
Thanks @gpongelli for giving Click Extra a try! Happy to see that you ended up finding the root cause of your issue! And yes, the configuration loader is quite flexible so it's easy to make it work unexpectedly. You did the right thing looking into the |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
I've noticed that yaml config file isn't parsed, meanwhile json and toml are.
config.json
:config.yaml
:config.toml
:code snippet
both config.yaml and config.json are into the same folder and are loaded, but the output is different:
ok
loaded from filetoml
loaded from fileoooo
coming from default valueAm I doing something in a wrong way ?
useful versions:
python 3.11
click 8.1.7
click-extra 4.7.4
Thanks.
The text was updated successfully, but these errors were encountered: