-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
formatterRelated to the formatterRelated to the formatterwishNot on the current roadmap; maybe in the futureNot on the current roadmap; maybe in the future
Description
Following the implementation of experimental docstring format, a docstring-code-format configuration "knob" has been added in #8854. That way you can activate this new behavior by adding the following to ruff.toml (or any equivalent):
[format]
docstring-code-format = trueWhat I would like to have is a --docstring-code-format CLI option that I can use like so:
$ ruff format --docstring-code-format .
Why? Because I would like to test the docstring formatter on some projects, by the way of reuseable GitHub actions. And for these projects, I do not have the authority on the configuration files. I can only alter CLI parameters of ruff in the actions.
Is my proposal reasonable? Or is there a way I can pass arbitrary local configuration parameters via the CLI?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
formatterRelated to the formatterRelated to the formatterwishNot on the current roadmap; maybe in the futureNot on the current roadmap; maybe in the future