Rename RuleGroup::Unspecified to Stable (#7991)

Should help with #7989 and seems more accurate for our new model
This commit is contained in:
Zanie Blue 2023-10-16 14:53:27 -05:00 committed by GitHub
parent 4c2c9bf7e0
commit 4113d65836
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 654 additions and 655 deletions

View file

@ -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 {