astral-sh / astral-sh/ruff

Warn on unused `ignore`s from `pyproject.toml`

Open
#357 5 comments 1 reaction 0 assignees View on GitHub
configuration rule
Dominant language
Rust
Stars
49.7k
Forks
2.4k
Avg merge
2d 1h
Merged PRs (30d)
458

Description

I’m on mobile so I can’t confirm but I think M001 doesn’t warn about unused excludes in the config. I think it should since it's essentially the same reasoning as unused per-line ignores. Thoughts?

Contributor guide

Open the contributing guide

Research direction

Start by tracing how M001 handles per-line ignores and how exclusions are read from pyproject.toml. Determine how the linter can identify configured excludes that were never used; done means unused excludes produce warnings with behavior consistent with unused per-line ignores.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.