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
Since #9060, ruff now complains about:
import asyncio consumer_task: asyncio.Task class Something: @classmethod async def start_async(cls, something): global consumer_task consumer_task = asyncio.create_task(something.consume_messages()) return something
Similar issue applies to assignments to nonlocal
Filing as per #9060 (comment)
The text was updated successfully, but these errors were encountered:
unused-asyncio-dangling-task
RUF006
Thanks! Will fix.
Sorry, something went wrong.
asyncio-dangling-task
Avoid asyncio-dangling-task for nonlocal and global bindings (#9263)
6d0c9c4
Closes #9262.
charliermarsh
Successfully merging a pull request may close this issue.
Since #9060, ruff now complains about:
Similar issue applies to assignments to nonlocal
Filing as per #9060 (comment)
The text was updated successfully, but these errors were encountered: