astral-sh / ruff

An extremely fast Python linter and code formatter, written in Rust.
https://docs.astral.sh/ruff
MIT License
30.71k stars 1.02k forks source link

Implement flake8-noqa #850

Open JonathanPlasse opened 1 year ago

JonathanPlasse commented 1 year ago

flake8-noqa

Error codes

Flake8 specific rules

Should we ignore them?

Options

charliermarsh commented 1 year ago

We have NQA101, NQA102, and NQA103 as RUF100, but it'd be great to have better diagnostics around noqa validation.

augustelalande commented 6 months ago

NQA001 seems covered by E262

augustelalande commented 6 months ago

I'm gonna work on NQA002, NQA003, NQA004, and NQA005.

augustelalande commented 4 months ago

The functionality of NQA002 and NQA003 was added to PGH004

augustelalande commented 4 months ago

The functionality of NQA005 was added to RUF100

augustelalande commented 4 months ago

FYI @JonathanPlasse NQA001 and NQA005 should be checked in the summary, but NQA004 should be unchecked for now.

charliermarsh commented 4 months ago

Okay, I think I corrected them.