mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:44:56 +00:00
Change TODO comment
This commit is contained in:
parent
3f44ea0fb9
commit
8aaf89636f
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ python-version = "3.11"
|
||||||
|
|
||||||
```py
|
```py
|
||||||
class Explicit:
|
class Explicit:
|
||||||
# TODO: Should warn the user if self is overriden with a type that is not subtype of the class
|
# TODO: We could emit a warning if the annotated type of `self` is disjoint from `Explicit`
|
||||||
def bad(self: int) -> None:
|
def bad(self: int) -> None:
|
||||||
reveal_type(self) # revealed: int
|
reveal_type(self) # revealed: int
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue