From f4be05a83be770c8c9781088508275170396b411 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 20 Aug 2025 15:19:18 +0200 Subject: [PATCH] [`flake8-annotations`] Remove unused import in example (`ANN401`) (#20000) ## Summary Remove unused import in the "Use instead" example. ## Test Plan It's just a text description, no test needed --- .../src/rules/flake8_annotations/rules/definition.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/ruff_linter/src/rules/flake8_annotations/rules/definition.rs b/crates/ruff_linter/src/rules/flake8_annotations/rules/definition.rs index b973b47ef8..04159eaadc 100644 --- a/crates/ruff_linter/src/rules/flake8_annotations/rules/definition.rs +++ b/crates/ruff_linter/src/rules/flake8_annotations/rules/definition.rs @@ -485,9 +485,6 @@ impl Violation for MissingReturnTypeClassMethod { /// Use instead: /// /// ```python -/// from typing import Any -/// -/// /// def foo(x: int): ... /// ``` ///