astral-sh / astral-sh/ruff

new rule: enforce consistent capitalisation of `noqa` statements

Open
#9,596 3 comments 1 reaction 0 assignees View on GitHub
rule
Dominant language
Rust
Stars
49.6k
Forks
2.4k
Avg merge
1d 21h
Merged PRs (30d)
435

Description

- enforce consistent capitalisation of `noqa` statements
- default to `noqa`, but allow configuring to `NOQA` or `NoQA`

Contributor guide

Open the contributing guide

Research direction

The issue specifies a new rule for consistent `noqa` capitalization, with `noqa` as the default and `NOQA` or `NoQA` as configurable alternatives. No file, test, or entry point is named, so first locate the existing `noqa` handling and related rule tests; done means the selected capitalization is enforced consistently and the configuration options work.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.