[flake8-async] Make ASYNC110 example error out-of-the-box (#18975)

This commit is contained in:
GiGaGon 2025-06-27 00:01:02 -07:00 committed by GitHub
parent 1874d52eda
commit 85b2a08b5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,6 +16,8 @@ use crate::rules::flake8_async::helpers::AsyncModule;
///
/// ## Example
/// ```python
/// import asyncio
///
/// DONE = False
///
///
@ -26,6 +28,8 @@ use crate::rules::flake8_async::helpers::AsyncModule;
///
/// Use instead:
/// ```python
/// import asyncio
///
/// DONE = asyncio.Event()
///
///