From 0917ce16f477f20b60d6d6f96462d4c83168f6f6 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Thu, 27 Jun 2024 10:50:09 +0200 Subject: [PATCH] Update documentation to mention `etcetera` crate instead of `dirs` for user configuration discovery (#12064) --- docs/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index b10df47b79a44..863a60d8dc9de 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -270,8 +270,8 @@ There are a few exceptions to these rules: 1. If no config file is found in the filesystem hierarchy, Ruff will fall back to using a default configuration. If a user-specific configuration file exists at `${config_dir}/ruff/pyproject.toml`, that file will be used instead of the default - configuration, with `${config_dir}` being determined via the [`dirs`](https://docs.rs/dirs/4.0.0/dirs/fn.config_dir.html) - crate, and all relative paths being again resolved relative to the _current working directory_. + configuration, with `${config_dir}` being determined via [`etcetera`'s native strategy](https://docs.rs/etcetera/latest/etcetera/#native-strategy), + and all relative paths being again resolved relative to the _current working directory_. 1. Any config-file-supported settings that are provided on the command-line (e.g., via `--select`) will override the settings in _every_ resolved configuration file.