Skip to content
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) #29

Closed
wants to merge 9 commits into from

Conversation

tsuyoshicho
Copy link
Owner

No description provided.

@tsuyoshicho tsuyoshicho self-assigned this Mar 4, 2023
@@ -0,0 +1,33 @@
from typing import Literal, overload
import pytest
Copy link

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


class Subclass(Superclass):
@property
def name(self) -> int:
Copy link

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)
Copy link

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)
Copy link

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)
Copy link

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)
Copy link

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)
Copy link

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)
Copy link

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

@tsuyoshicho tsuyoshicho changed the title test mypy ignore note refactor retry test mypy ignore note refactor retry (false) Mar 4, 2023
@tsuyoshicho tsuyoshicho closed this Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant