We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Feature
Emit error if local var is undefined, example code that currently fails at runtime but passes type check:
def get_lines_to_render() -> list[str] | tuple[list[str], int]: return [] lines = get_lines_to_render() if isinstance(lines, tuple): lines, cursor_pos = lines else: cursor_pos cursor_pos = len(lines)
Pitch
Would be nice if I wouldn't have to run the code only to find out I had a typo. That's what type checking is all about....
The text was updated successfully, but these errors were encountered:
Duplicate of #686 ://
Sorry, something went wrong.
No branches or pull requests
Feature
Emit error if local var is undefined, example code that currently fails at runtime but passes type check:
Pitch
Would be nice if I wouldn't have to run the code only to find out I had a typo. That's what type checking is all about....
The text was updated successfully, but these errors were encountered: