mirror of https://github.com/astral-sh/ruff
Fix typo in PYI056 docs (#5973)
The current "use instead" code would correctly be rejected by any type checker worth its salt ;)
This commit is contained in:
parent
33657d3a1c
commit
aba340a177
|
|
@ -23,7 +23,7 @@ use crate::checkers::ast::Checker;
|
|||
/// Use instead:
|
||||
/// ```python
|
||||
/// __all__ = ["A"]
|
||||
/// __all__ += "B"
|
||||
/// __all__ += ["B"]
|
||||
/// ```
|
||||
#[violation]
|
||||
pub struct UnsupportedMethodCallOnAll {
|
||||
|
|
|
|||
Loading…
Reference in New Issue