Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand tildes when resolving Ruff server configuration file #11283

Merged
merged 1 commit into from
May 4, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented May 4, 2024

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

@charliermarsh charliermarsh added bug Something isn't working server Related to the LSP server labels May 4, 2024
Copy link
Contributor

github-actions bot commented May 4, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@charliermarsh charliermarsh merged commit 9d45987 into main May 4, 2024
19 checks passed
@charliermarsh charliermarsh deleted the charlie/expand branch May 4, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server Related to the LSP server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ruff server still doesn't check E30* errors
2 participants