fix glob format

This commit is contained in:
Chris Watson
2025-04-17 13:53:29 -06:00
parent 5125f271f2
commit 8fe9254c05
236 changed files with 253 additions and 244 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
---
description: This rule provides comprehensive best practices for developing with the Trio asynchronous I/O library in Python, covering code organization, performance, testing, and common pitfalls.
globs: **/*.py
globs: *.py
---
- Use `flake8-async` to check for issues in Trio code. `@file:flake8_async_rules.mdc`
- Utilize Trio's nursery feature for managing concurrent tasks to prevent orphaned tasks and improve error handling. Use `async with trio.open_nursery() as nursery: nursery.start_soon(my_task)`. See Trio documentation for advanced usage.