Remove `Message::to_rule` #18447
replace one call with to_url
0302b9c8
store the rule_name instead of rule in the cache
4f71b7ec
avoid converting to Rule to collect rule codes, use Rule on output
a779e5ca
avoid to_rule for sarif output format
6e2f0590
use Vec<NoqaCode> directly instead of constructing a RuleSet
c030bfad
convert Rule from noqa_code in some tests
de723880
avoid to_rule in ruff_server
2269ff9d
use my TODO idea for to_url
46d2e9e3
delete Message::to_rule
43277a15
ntBre
marked this pull request as ready for review 1 year ago
ntBre
marked this pull request as draft 1 year ago
ntBre
marked this pull request as ready for review 1 year ago
restore CacheMessage::rule, parse the name on input
2e90bd19
Message::to_noqa_code -> noqa_code
62e42d90
add Rule::name, remove AsRefStr impl, many pub to pub(crate)
17888e53
avoid Rule::from_code in pyflakes
73347b74
make FixTable a struct and store the rule name along with the code
0c22912a
use HashSet instead of Vec for noqa_codes, closer to RuleSet
96a6ba21
fix wasm build
71e658ab
ntBre
commented
on 2025-06-04
fix count destructuring
51ab8306
Merge branch 'main' into brent/remove-to-rule
2d2c05f4
improve FixTable interface
13a586c6
ntBre
merged
ce216c79
into main 1 year ago
ntBre
deleted the brent/remove-to-rule branch 1 year ago
Assignees
No one assigned
Labels
internal
diagnostics
Login to write a write a comment.
Login via GitHub