Skip to content

lint.per-file-ignores option is ignored by the new language server #11751

@DetachHead

Description

@DetachHead

when enabling the new ruff.nativeServer setting in vscode, it seems to ignore tool.ruff.lint.per-file-ignores

# pyproject.toml

[tool.ruff.lint]
extend-select = ["S101"]
[tool.ruff.lint.per-file-ignores]
"tests/**/.py" = ["S101"]
// .vscode/settings.json

{
  "ruff.nativeServer": true
}

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingserverRelated to the LSP server

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions