mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:16 +00:00
Change TODO comment
This commit is contained in:
parent
df73d616be
commit
eea69f2357
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ python-version = "3.11"
|
|||
|
||||
```py
|
||||
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:
|
||||
reveal_type(self) # revealed: int
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue