Config file "extend" not working from language server #13261
Labels
bug
Something isn't working
great writeup
A wonderful example of a quality contribution
server
Related to the LSP server
I don't seem to be able to include a config file from another config file when using the language server, however it works fine from the command line.
Example
This is fairly arbitrary...
ruff_config1.toml
:ruff_config2.toml
:ruff_test.py
:When I run this with
ruff check
I get the expected output:(note that F821 is a default rule)
However with the following Neovim LSP config:
I see the F821 violation (this is enabled by default and indicates that checking is working) and I don't see the F401 violation (expected, indicating that
ruff_config2.toml
is being loaded, since that rule is enabled by default) but I don't see the ANN201 violation, indicating thatruff_config1.toml
was not loaded.I have also tried changing the
extend
path to use an absolute path or a path based on an environment variable, but it doesn't seem to make a difference.Replicated with
ruff
0.6.2 and 0.6.3.The text was updated successfully, but these errors were encountered: