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
Here's a sample code for reproduction:
async def test(): return [check async for check in async_func()]
Error: RUF029 Function `test` is declared `async`, but doesn't `await` or use `async` features.
RUF029 Function `test` is declared `async`, but doesn't `await` or use `async` features.
The text was updated successfully, but these errors were encountered:
Thanks!
Sorry, something went wrong.
\cc @plredmond
[ruff] fix async comprehension false positive (RUF029) (#11070)
a689388
## Summary - Fix #11043 ## Test Plan Added the false positive code in the test fixture.
Successfully merging a pull request may close this issue.
Here's a sample code for reproduction:
Error:
RUF029 Function `test` is declared `async`, but doesn't `await` or use `async` features.
The text was updated successfully, but these errors were encountered: