You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Startable function (i.e. has a ``task_status`` keyword parameter) not in :ref:`--startable-in-context-manager <--startable-in-context-manager>` parameter list, please add it so ASYNC113 can catch errors when using it.
67
67
68
-
ASYNC115 : async-zero-sleep
68
+
_`ASYNC115` : async-zero-sleep
69
69
Replace :func:`trio.sleep(0) <trio.sleep>`/:func:`anyio.sleep(0) <anyio.sleep>` with the more suggestive :func:`trio.lowlevel.checkpoint`/:func:`anyio.lowlevel.checkpoint`.
70
70
71
-
ASYNC116 : long-sleep-not-forever
71
+
_`ASYNC116` : long-sleep-not-forever
72
72
:func:`trio.sleep`/:func:`anyio.sleep` with >24 hour interval should usually be :func:`trio.sleep_forever`/:func:`anyio.sleep_forever`.
73
73
74
-
ASYNC118 : cancelled-class-saved
74
+
_`ASYNC118` : cancelled-class-saved
75
75
Don't assign the value of :func:`anyio.get_cancelled_exc_class` to a variable, since that breaks linter checks and multi-backend programs.
0 commit comments