mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Rename RuleGroup::Unspecified
to Stable
(#7991)
Should help with #7989 and seems more accurate for our new model
This commit is contained in:
parent
4c2c9bf7e0
commit
4113d65836
3 changed files with 654 additions and 655 deletions
|
@ -58,7 +58,7 @@ pub(crate) fn map_codes(func: &ItemFn) -> syn::Result<TokenStream> {
|
|||
};
|
||||
|
||||
// Map from: linter (e.g., `Flake8Bugbear`) to rule code (e.g.,`"002"`) to rule data (e.g.,
|
||||
// `(Rule::UnaryPrefixIncrement, RuleGroup::Unspecified, vec![])`).
|
||||
// `(Rule::UnaryPrefixIncrement, RuleGroup::Stable, vec![])`).
|
||||
let mut linter_to_rules: BTreeMap<Ident, BTreeMap<String, Rule>> = BTreeMap::new();
|
||||
|
||||
for arm in arms {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue