Fix typo in allow-unused-imports documentation (#13669)
This commit is contained in:
@@ -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
4
ruff.schema.json
generated
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user