-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
RFC: generic configuration manipulation from the command line #634
Comments
As mentioned there I'd prefer brackets because:
I'm fine with both though. |
The opposite approach would be: don't do this at all and instead focus on improving the documentation to show clearly that all these things (and more) can be accomplished with environment variables and substitutions in I personally would prefer this approach because we don't have to write even one single line of code for that. |
as faras i can tell, implementing this right now as is would cement the config file format as ini files |
@RonnyPfannschmidt that is another important point keeping #600 in mind. If this would be implemented at all then the syntax should be config file agnostic. |
The nice thing about having For example, if I want to contribute to some project, and it does something in its Right now, I need to edit |
True. From that POV it might actually be worth the effort. |
-o
Instead of |
Ideally this should also deprecate the other cli options such as |
I think so too. These can go in 3.0 then :) |
4.0 alpha now contains this via the |
This came up in #631.
-- @The-Compiler
pytest --help
:I think this would be a great direction and would render all needs for specific command line overrides obsolete.
Further interesting snippets from that discussion:
-- @asottile
The text was updated successfully, but these errors were encountered: