Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ruff server
reads from a configuration TOML file in the user config…
…uration directory if no local configuration exists (#11225) ## Summary Fixes #11158. A settings file in the ruff user configuration directory will be used as a configuration fallback, if it exists. ## Test Plan Create a `pyproject.toml` or `ruff.toml` configuration file in the ruff user configuration directory. * On Linux, that will be `$XDG_CONFIG_HOME/ruff/` or `$HOME/.config` * On macOS, that will be `$HOME/Library/Application Support` * On Windows, that will be `{FOLDERID_LocalAppData}` Then, open a file inside of a workspace with no configuration. The settings in the user configuration file should be used.
- Loading branch information