mirror of https://github.com/astral-sh/ruff
[`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
This commit is contained in:
parent
1d2128f918
commit
f4be05a83b
|
|
@ -485,9 +485,6 @@ impl Violation for MissingReturnTypeClassMethod {
|
||||||
/// Use instead:
|
/// Use instead:
|
||||||
///
|
///
|
||||||
/// ```python
|
/// ```python
|
||||||
/// from typing import Any
|
|
||||||
///
|
|
||||||
///
|
|
||||||
/// def foo(x: int): ...
|
/// def foo(x: int): ...
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue