[flake8-pyi] Make PYI032 example error out-of-the-box (#19061)

This commit is contained in:
GiGaGon 2025-06-30 23:50:58 -07:00 committed by GitHub
parent 966adca6f6
commit b8653a9d3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: