-
Notifications
You must be signed in to change notification settings - Fork 181
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
Revert "Create pyproject.toml" #30
Conversation
@@ -0,0 +1,13 @@ | |||
def hello_world(i: int = 0) -> str: |
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.
🚫 [pyright] reported by reviewdog 🐶
Function with declared type of "str" must return value
Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues)
|
||
|
||
def hello_goodbye(): | ||
hello_world("x") |
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.
🚫 [pyright] reported by reviewdog 🐶
Argument of type "Literal['x']" cannot be assigned to parameter "i" of type "int" in function "hello_world"
"Literal['x']" is incompatible with "int" (reportGeneralTypeIssues)
|
||
from ai-python-package.hello_world import hello_world |
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.
🚫 [pyright] reported by reviewdog 🐶
Expected "import"
|
||
from ai-python-package.hello_world import hello_world |
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.
🚫 [pyright] reported by reviewdog 🐶
Statements must be separated by newlines or semicolons
|
||
from ai-python-package.hello_world import hello_world |
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.
🚫 [pyright] reported by reviewdog 🐶
Statements must be separated by newlines or semicolons
|
||
from ai-python-package.hello_world import hello_world |
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.
🚫 [pyright] reported by reviewdog 🐶
Import "ai" could not be resolved (reportMissingImports)
|
||
from ai-python-package.hello_world import hello_world |
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.
🚫 [pyright] reported by reviewdog 🐶
Import "hello_world" could not be resolved (reportMissingImports)
|
||
from ai-python-package.hello_world import hello_world |
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.
🚫 [pyright] reported by reviewdog 🐶
"python" is not defined (reportUndefinedVariable)
|
||
from ai-python-package.hello_world import hello_world |
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.
🚫 [pyright] reported by reviewdog 🐶
"package" is not defined (reportUndefinedVariable)
|
||
from ai-python-package.hello_world import hello_world |
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.
Expression value is unused (reportUnusedExpression)
Reverts #20