Remove test rules from JSON schema (#15627)

Closes: #15707
This commit is contained in:
Dhruv Manilawala 2025-01-24 10:17:59 +05:30 committed by GitHub
parent 2b3550c85f
commit 9384ba4b91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -316,7 +316,7 @@ mod schema {
// Filter out all test-only rules
#[cfg(any(feature = "test-rules", test))]
#[allow(clippy::used_underscore_binding)]
if _rule.starts_with("RUF9") {
if _rule.starts_with("RUF9") || _rule == "PLW0101" {
return false;
}

1
ruff.schema.json generated
View file

@ -3653,7 +3653,6 @@
"PLW0",
"PLW01",
"PLW010",
"PLW0101",
"PLW0108",
"PLW012",
"PLW0120",