Jane Lewis
Jane Lewis
At the moment, `ruff server` does not yet respect `exclude` configuration, either in the editor configuration or in workspace configuration. This may cause unexpected behavior when editing an excluded file.
## Summary Fixes #10594. Note: this PR is in draft because the actual code to generate `noqa` comment edits has yet to be implemented. So far, the existing code just...
## Summary Closes https://github.com/astral-sh/ruff/issues/10968. At the moment, the log level is always set to `Info`. Log level configuration will be implemented in a follow-up. ## Test Plan Add a series...
(Follow-up to https://github.com/astral-sh/ruff/pull/11062) The server should have snapshot tests that verify that project and editor settings resolve correctly. We can use existing client settings test fixtures in combination with new...
## Summary Fixes https://github.com/astral-sh/ruff/issues/11258. This PR fixes the settings resolver to match the expected behavior when file-based configuration is not available. ## Test Plan In a workspace with no file-based...
## Summary `--add-noqa` now runs in two stages: first, the linter finds all diagnostics that need noqa comments and generate edits on a per-line basis. Second, these edits are applied,...
If no file-based configuration exists for a workspace, only the fallback settings are used, and they are not combined with editor settings. The expected behavior is that editor settings should...
By 'workspace', I mean a working directory that has a `pyproject.toml`/`ruff.toml` configuration file. When `hx` is used outside of a workspace, the server simply does not work with any opened...
Steps to reproduce: 1. Disable VS Code auto-save. 2. Add `ALL` to the `select` setting in the extension 3. Create a new `.py` file, but don't save it yet. 4....
Right now, we don't have any centralized documentation for `ruff server`'s client settings, similar to what [`ruff-lsp` has in its README](https://github.com/astral-sh/ruff-lsp?tab=readme-ov-file#settings). This would be a useful resource for users to...