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
Describe the solution you'd like
Only sync functions are supported in Python. It would be nice to also include async functions in the detection algorithm.
eg:
async def test(a: int) -> bool: pass
Additional context
I tried to update the regex myself but the \m at the start throws me off since it is not valid regex.
\m(async )?def\s\+\%([^(]\+\)\s*(\(.\{-}\))\%(\s*->\s*\(.\{-}\)\)\?\s*:
Edit:
I'm currently reading the contribution guidelines, shouldn't be hard to implement these. Also, I now see the use of \m 😅
The text was updated successfully, but these errors were encountered:
Your regex is in Perl style, not in Vim style. I'll have a look at this later.
Sorry, something went wrong.
feat(python): add support for async functions (#93)
4c0b771
This feature has been merged and released in v2.8.0.
Feel free to submit any new issues if you experience any unwanted behavior in the future. Thanks for your contribution.
kkoomen
Successfully merging a pull request may close this issue.
Describe the solution you'd like
Only sync functions are supported in Python. It would be nice to also include async functions in the detection algorithm.
eg:
Additional context
I tried to update the regex myself but the \m at the start throws me off since it is not valid regex.
Edit:
I'm currently reading the contribution guidelines, shouldn't be hard to implement these. Also, I now see the use of \m 😅
The text was updated successfully, but these errors were encountered: