Skip to content

Commit 0917ce1

Browse files
committed
Update documentation to mention etcetera crate instead of dirs for user configuration discovery (#12064)
1 parent 22cebdf commit 0917ce1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configuration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ There are a few exceptions to these rules:
270270
1. If no config file is found in the filesystem hierarchy, Ruff will fall back to using
271271
a default configuration. If a user-specific configuration file exists
272272
at `${config_dir}/ruff/pyproject.toml`, that file will be used instead of the default
273-
configuration, with `${config_dir}` being determined via the [`dirs`](https://docs.rs/dirs/4.0.0/dirs/fn.config_dir.html)
274-
crate, and all relative paths being again resolved relative to the _current working directory_.
273+
configuration, with `${config_dir}` being determined via [`etcetera`'s native strategy](https://docs.rs/etcetera/latest/etcetera/#native-strategy),
274+
and all relative paths being again resolved relative to the _current working directory_.
275275
1. Any config-file-supported settings that are provided on the command-line (e.g., via
276276
`--select`) will override the settings in _every_ resolved configuration file.
277277

0 commit comments

Comments
 (0)