ruff/crates/ruff
Charlie Marsh 7eaec300dd
Move shell expansion into --config lookup (#10219)
## Summary

When users provide configurations via `--config`, we use `shellexpand`
to ensure that we expand signifiers like `~` and environment variables.

In https://github.com/astral-sh/ruff/pull/9599, we modified `--config`
to accept either a path or an arbitrary setting. However, the detection
(to determine whether the value is a path or a setting) was lacking the
`shellexpand` behavior -- it was downstream. So we were always treating
paths like `~/ruff.toml` as values, not paths.

Closes https://github.com/astral-sh/ruff-vscode/issues/413.
2024-03-04 12:45:50 -05:00
..
resources/test/fixtures Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
src Move shell expansion into --config lookup (#10219) 2024-03-04 12:45:50 -05:00
tests Move shell expansion into --config lookup (#10219) 2024-03-04 12:45:50 -05:00
build.rs Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
Cargo.toml Bump version to v0.3.0 (#10151) 2024-02-29 16:05:20 +01:00