ruff
Emit a warning instead of an error for unknown rule selectors
#26113
Merged

Emit a warning instead of an error for unknown rule selectors #26113

ntBre merged 34 commits into main from brent/defer-rule-parsing
ntBre
ntBre Emit a warning instead of an error for unknown rule selectors
15d03463
ntBre copy the test from brent/human-readable-selectors
eb4a0eba
ntBre ntBre added rule-selection
ntBre
ntBre commented on 2026-06-17
ntBre
ntBre commented on 2026-06-17
astral-sh-bot
ntBre ntBre marked this pull request as ready for review 18 days ago
ntBre ntBre requested a review from MichaReiser MichaReiser 18 days ago
MichaReiser
MichaReiser requested changes on 2026-06-18
ntBre o -> safety_override
3fbb9b8f
ntBre
ntBre skip explicit unsafe check
b4896088
ntBre ntBre marked this pull request as draft 17 days ago
ntBre ntBre added preview
ntBre test table -> test_case
3dc170c3
ntBre update valid_toml_but_nonexistent_option_provided_via_config_argument
3ce65efc
ntBre switch to snapshots
e6bc749b
ntBre preview-gate warning behavior
338f7751
ntBre remove unused deserialize impl for PatternPrefixPair
7e4747aa
ntBre copy over ValueSourceGuard
5ebc2b5c
ntBre avoid missing span errors for DeprecatedTopLevelLintOptions
6e58f655
ntBre add cli constructor, use in tests
19dcadb1
ntBre use source and setting to improve error message
a2cc9c01
ntBre don't derive Eq and Hash
da850314
ntBre add range getter
dcc2d656
ntBre ValueSourceGuard -> RuleSelectorSourceGuard
3da50d87
ntBre clean up unused snapshots
7a87afe3
ntBre add preview cases too
a26853cb
ntBre
MichaReiser
ntBre separate tests and inline snapshots
e5285419
ntBre remove private link
e2b0afbf
ntBre Merge branch 'main' into brent/defer-rule-parsing
e90c4ee7
ntBre move more information into the error type for better messages
518e4ee6
ntBre test File and Editor source messages
276f2f07
ntBre
ntBre ntBre marked this pull request as ready for review 12 days ago
MichaReiser MichaReiser requested a review from MichaReiser MichaReiser 12 days ago
MichaReiser
MichaReiser approved these changes on 2026-06-24
ntBre Merge branch 'main' into HEAD
1d3b4cb4
ntBre expand preview comment
45dab327
ntBre let callers attach setting on error
bc8cc283
ntBre ruff_ranged_value crate
b8cbb445
ntBre use RangedValue in ruff
0fc7305c
ntBre shear
bbf5576e
ntBre fix optional dep
070d7cd4
ntBre revert Combined for RangedValue dependency
7aa75900
ntBre docs
fe3d37a7
ntBre generate readme
420c4270
ntBre ntBre requested a review 11 days ago
ntBre ntBre requested a review 11 days ago
ntBre ntBre requested a review 11 days ago
ntBre ntBre requested a review 11 days ago
ntBre ntBre requested a review 11 days ago
ntBre ntBre requested a review 11 days ago
astral-sh-bot
astral-sh-bot
astral-sh-bot
ntBre tidy some imports
6f472011
ntBre ntBre removed review request 11 days ago
ntBre ntBre removed review request 11 days ago
ntBre ntBre removed review request 11 days ago
ntBre ntBre removed review request 11 days ago
ntBre ntBre removed review request 11 days ago
ntBre ntBre removed review request 11 days ago
ntBre ntBre merged 62859dfd into main 11 days ago
ntBre ntBre deleted the brent/defer-rule-parsing branch 11 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone