Skip to content

Commit c13a906

Browse files
committed
add blurb suggesting 910/911 if you want to check class methods
1 parent 3a679d5 commit c13a906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/rules.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ _`ASYNC124`: async-function-could-be-sync
100100
Calling an async function is slower than calling regular functions, so if possible you
101101
might want to convert your function to be synchronous.
102102
This currently overlaps with :ref:`ASYNC910 <ASYNC910>` and :ref:`ASYNC911 <ASYNC911>` which, if enabled, will autofix the function to have :ref:`checkpoint`.
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.
103104

104105
Blocking sync calls in async functions
105106
======================================

0 commit comments

Comments
 (0)