Fix typo in allow-unused-imports documentation (#13669)

This commit is contained in:
Zanie Blue 2024-10-07 14:08:36 -05:00 committed by GitHub
parent 71b52b83e4
commit 42fcbef876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -796,7 +796,7 @@ pub struct LintCommonOptions {
)]
pub typing_modules: Option<Vec<String>>,
/// A list of modules which is allowed even thought they are not used
/// A list of modules which is allowed even though they are not used
/// in the code.
///
/// This is useful when a module has a side effect when imported.

4
ruff.schema.json generated
View file

@ -17,7 +17,7 @@
}
},
"allowed-unused-imports": {
"description": "A list of modules which is allowed even thought they are not used in the code.\n\nThis is useful when a module has a side effect when imported.",
"description": "A list of modules which is allowed even though they are not used in the code.\n\nThis is useful when a module has a side effect when imported.",
"deprecated": true,
"type": [
"array",
@ -1899,7 +1899,7 @@
}
},
"allowed-unused-imports": {
"description": "A list of modules which is allowed even thought they are not used in the code.\n\nThis is useful when a module has a side effect when imported.",
"description": "A list of modules which is allowed even though they are not used in the code.\n\nThis is useful when a module has a side effect when imported.",
"type": [
"array",
"null"