You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my actual codebase, specifying the ruff.configuration setting makes the extension show some rule (I001 to be specific) correctly in the editor (maybe it's another, related bug). I tried to make a minimal reproducible example but I couldn't.
Description
When working in Multi-root Workspaces in Visual Studio Code, whether
lint.per-file-ignores
takes effect depends on the file pattern.The extension settings are all set to defaults, except for the
ruff.configuration
.Reproduction
Set-up
Follow the steps below or clone https://github.com/shunichironomura/ruff-vscode-ws
(EDIT: Fixed the structure by adding the
subfolder/
)a.code-workspace
:b/a.py
andt/a.py
(both have the same contents):ruff.toml
:code a.code-workspace
Expected behavior
ruff check .
in the root results in reporting no error.b/a.py
andt/a.py
), no error is shown in the editor.Actual behavior
ruff check .
in the root results in reporting no error. (As expected)F401
is not shown inb/a.py
, but is shown int/a.py
. (Unexpected)Environment
The text was updated successfully, but these errors were encountered: