ruff
Avoid generating diagnostics with per-file ignores
#18801
Merged

Avoid generating diagnostics with per-file ignores #18801

ntBre merged 12 commits into main from brent/earlier-per-file-ignores
ntBre
ntBre ntBre added internal
ntBre ntBre added diagnostics
github-actions
codspeed-hq
ntBre
MichaReiser
MichaReiser commented on 2025-06-19
MichaReiser
MichaReiser commented on 2025-06-19
MichaReiser
MichaReiser commented on 2025-06-19
MichaReiser
MichaReiser
MichaReiser commented on 2025-06-19
ntBre
ntBre
MichaReiser
ntBre ntBre marked this pull request as ready for review 290 days ago
ntBre ntBre requested a review from AlexWaygood AlexWaygood 290 days ago
ntBre ntBre removed review request from AlexWaygood AlexWaygood 290 days ago
MichaReiser MichaReiser removed internal
MichaReiser MichaReiser added bug
MichaReiser
MichaReiser commented on 2025-06-20
MichaReiser
MichaReiser approved these changes on 2025-06-20
ntBre use Checker::enabled where possible
e372a2c5
ntBre defer to LintContext::enabled in Checker
6bbd70bf
ntBre store just a RuleTable, not the whole Settings
42f53155
ntBre prefer LintContext methods to accessing rules directly
fd774dad
ntBre construct LintContext's SourceFile internally
c3af9ce6
ntBre apply per-file ignores in LintContext
ffbab4b6
ntBre always clone RuleTable, restore const
697781b6
ntBre diagnostics -> context in check_path
534e2a66
ntBre update LintContext method names
4a8ecbed
ntBre update Checker method names too
a1d9b9ed
ntBre move empty ignores check to ignores_from_path
deb304e9
ntBre ntBre force pushed from a0eddd81 to deb304e9 290 days ago
ntBre restore (unused) LinterSettings on LintContext
0e7769fd
ntBre ntBre merged 8cff77c8 into main 290 days ago
ntBre ntBre deleted the brent/earlier-per-file-ignores branch 290 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone