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
Hi:
The current code does not recognize function with specified return types:
def run_some_test() -> int: return 32
I think that updating the code with this regex may fix it:
"def[ \t]+\\([a-zA-Z_][a-zA-Z0-9_]*\\)[ \t]*(\\(.*\\))\\([ \t]*->[ \t]*[a-zA-Z0-9_]*\\)?:"
This is the same regex than before, but extended with \\([ \t]*->[ \t]*[a-zA-Z0-9_]*\\)?
\\([ \t]*->[ \t]*[a-zA-Z0-9_]*\\)?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi:
The current code does not recognize function with specified return types:
I think that updating the code with this regex may fix it:
This is the same regex than before, but extended with
\\([ \t]*->[ \t]*[a-zA-Z0-9_]*\\)?
The text was updated successfully, but these errors were encountered: