From 6aefe71c565b402c8045ea74b09331be4f69bafb Mon Sep 17 00:00:00 2001 From: Piotr Date: Tue, 8 Aug 2023 11:24:41 +0200 Subject: [PATCH] Fix name of rule in example of `extend-per-file-ignores` in options.rs (#6417) ## Summary Fix name of rule in example of `extend-per-file-ignores` in `options.rs` file. It was `E401` but in configuration example `E402` was listed. Just a tiny mismatch. ## Test Plan Just by my eyes :). --- crates/ruff/src/settings/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff/src/settings/options.rs b/crates/ruff/src/settings/options.rs index 4fe3ecf819..5e3ea14207 100644 --- a/crates/ruff/src/settings/options.rs +++ b/crates/ruff/src/settings/options.rs @@ -596,7 +596,7 @@ pub struct Options { default = "{}", value_type = "dict[str, list[RuleSelector]]", example = r#" - # Also ignore `E401` in all `__init__.py` files. + # Also ignore `E402` in all `__init__.py` files. [tool.ruff.extend-per-file-ignores] "__init__.py" = ["E402"] "#