Skip to content

Commit 5bc49a9

Browse files
authored
Increase the ruleset size to 16 bits (#23586)
## Summary There are currently 960 rules and no room for more. This raises the limit to 1024. ## Test Plan Ran the `configuration::tests::select_two_char_prefix` test after adding one extra rule.
1 parent a62ba8c commit 5bc49a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_linter/src/registry/rule_set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use ruff_macros::CacheKey;
55

66
use crate::registry::Rule;
77

8-
const RULESET_SIZE: usize = 15;
8+
const RULESET_SIZE: usize = 16;
99

1010
/// A set of [`Rule`]s.
1111
///

0 commit comments

Comments
 (0)