[flake8-pyi] Make PYI032 example error out-of-the-box (#19061)
This commit is contained in:
@@ -28,8 +28,10 @@ use crate::{AlwaysFixableViolation, Edit, Fix};
|
||||
/// ## Example
|
||||
///
|
||||
/// ```pyi
|
||||
/// from typing import Any
|
||||
///
|
||||
/// class Foo:
|
||||
/// def __eq__(self, obj: typing.Any) -> bool: ...
|
||||
/// def __eq__(self, obj: Any) -> bool: ...
|
||||
/// ```
|
||||
///
|
||||
/// Use instead:
|
||||
|
||||
Reference in New Issue
Block a user