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
This currently overlaps with :ref:`ASYNC910 <ASYNC910>` and :ref:`ASYNC911 <ASYNC911>` which, if enabled, will autofix the function to have :ref:`checkpoint`.
103
103
This excludes class methods as they often have to be async for other reasons, if you really do want to check those you could manually run :ref:`ASYNC910 <ASYNC910>` and/or :ref:`ASYNC911 <ASYNC911>` and check the methods they trigger on.
104
104
105
+
_`ASYNC125`: constant-absolute-deadline
106
+
Passing constant values (other than :const:`math.inf`) to timeouts expecting absolute
107
+
deadlines is nonsensical. These should always be defined relative to
108
+
:func:`trio.current_time`/:func:`anyio.current_time`, or you might want to use
0 commit comments