From 47094620b363e652e70089ba0b0f0bd1531b64b1 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 7 Oct 2024 13:43:10 -0500 Subject: [PATCH] Fix typo in `allow-unused-imports` documentation --- crates/ruff_workspace/src/options.rs | 2 +- ruff.schema.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ruff_workspace/src/options.rs b/crates/ruff_workspace/src/options.rs index d2ddb2c0937cec..76f1a4b9a095c1 100644 --- a/crates/ruff_workspace/src/options.rs +++ b/crates/ruff_workspace/src/options.rs @@ -796,7 +796,7 @@ pub struct LintCommonOptions { )] pub typing_modules: Option>, - /// 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. diff --git a/ruff.schema.json b/ruff.schema.json index cf01ac039f4b1e..0010ec04f2cac3 100644 --- a/ruff.schema.json +++ b/ruff.schema.json @@ -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"