ruff/docs
Amethyst Reese 3d334a313e
Report diagnostics for invalid/unmatched range suppression comments (#21908)
## Summary

- Adds new RUF103 and RUF104 diagnostics for invalid and unmatched
suppression comments
- Reports RUF100 for any unused range suppression
- Reports RUF102 for range suppression comment with invalid rule codes
- Reports RUF103 for range suppression comment with invalid suppression syntax
- Reports RUF104 diagnostics for any unmatched range suppression comment (disable w/o enable)


## Test Plan

Updated snapshots from test cases with unmatched suppression comments

Issue #3711
Fixes #21878
Fixes #21875
2025-12-18 12:58:58 -08:00
..
.overrides Use | for page separator in meta titles (#13221) 2024-09-03 00:46:15 +00:00
assets Point docs to Astral favicon (#13219) 2024-09-02 20:11:39 -04:00
editors Update setup.md (#22024) 2025-12-17 14:56:25 +01:00
formatter Document known lambda formatting deviations from Black (#21954) 2025-12-12 12:57:09 -05:00
js Improvements to documentation (#12712) 2024-08-12 07:17:32 +00:00
stylesheets Fix copy and line separator colors in dark mode (#19630) 2025-07-30 15:08:31 +01:00
.gitignore Add docs for Ruff language server (#12344) 2024-07-18 17:41:43 +05:30
configuration.md Document `*.pyw` is included by default in preview (#21885) 2025-12-10 16:43:55 +00:00
faq.md Show partial fixability indicator in statistics output (#21513) 2025-11-27 18:03:36 +01:00
formatter.md Fluent formatting of method chains (#21369) 2025-12-15 09:29:50 -06:00
installation.md Use uv consistently throughout the documentation (#15302) 2025-01-07 14:43:25 +00:00
integrations.md Bump 0.14.10 (#22058) 2025-12-18 13:08:17 -06:00
linter.md Report diagnostics for invalid/unmatched range suppression comments (#21908) 2025-12-18 12:58:58 -08:00
preview.md Fix minor punctuation errors (#16228) 2025-02-18 12:24:57 +00:00
requirements.txt Update mkdocs-material to 9.7.0 (Insiders now free) (#21797) 2025-12-05 08:53:08 +01:00
tutorial.md Bump 0.14.10 (#22058) 2025-12-18 13:08:17 -06:00
versioning.md Ignore deprecated rules unless selected by exact code (#20167) 2025-09-10 09:00:27 -04:00