Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand tildes when resolving Ruff server configuration file (#11283)
## Summary Users can now include tildes and environment variables in the provided path, just like with `--config`. Closes #11277. ## Test Plan Set the configuration path to `"ruff.configuration": "~/x.toml"`; verified that the server attempted to read from `/Users/crmarsh/x.toml`. ![Screenshot 2024-05-04 at 1 31 43 PM](https://github.com/astral-sh/ruff/assets/1309177/ea9829cd-6d8a-4818-a47c-dcff9219e996)
- Loading branch information
1 parent
5f0c189
commit 9d45987
Showing
4 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters