-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test mypy ignore note refactor retry (false) #31
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,33 @@ | |||
from typing import Literal, overload | |||
import pytest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Cannot find implementation or library stub for module named "pytest" [import]
@@ -0,0 +1,33 @@ | |||
from typing import Literal, overload | |||
import pytest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [mypy] reported by reviewdog 🐶
See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
|
||
class Subclass(Superclass): | ||
@property | ||
def name(self) -> int: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Signature of "name" incompatible with supertype "Superclass" [override]
pass | ||
|
||
a = Someclass() | ||
a.method(123) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
No overload variant of "method" of "Someclass" matches argument type "int" [call-overload]
pass | ||
|
||
a = Someclass() | ||
a.method(123) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [mypy] reported by reviewdog 🐶
Possible overload variants:
pass | ||
|
||
a = Someclass() | ||
a.method(123) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [mypy] reported by reviewdog 🐶
def method(self, arg1: Literal['html']) -> None
pass | ||
|
||
a = Someclass() | ||
a.method(123) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [mypy] reported by reviewdog 🐶
def method(self, arg1: Literal['xml']) -> None
pass | ||
|
||
a = Someclass() | ||
a.method(123) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [mypy] reported by reviewdog 🐶
def method(self, arg1: Literal['text']) -> None
pass | ||
|
||
a = Someclass() | ||
a.method(123) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [mypy] reported by reviewdog 🐶
def method(self, arg1: str) -> None
No description provided.