Skip to content

ruff check --add-noqa doesn't respect [tool.ruff.lint] exclusions #13423

Closed
@charliermarsh

Description

@charliermarsh

It will run over all included files, even if the linter excludes them. As such, --add-noqa will modify files that wouldn't be reported on with ruff check.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedContributions especially welcome

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions