ruff
1465b5de - [`flake8-async`] Fix `in_async_context` logic (#23426)

Commit
58 days ago
[`flake8-async`] Fix `in_async_context` logic (#23426) We move the logic from `Checker::in_async_context` (from when it implements `SemanticSyntaxContext`) into the similarly named method in `SemanticModel`. This affects the following rules: - ASYNC105 - ASYNC210 - ASYNC212 - ASYNC220 - ASYNC221 - ASYNC222 - ASYNC230 - ASYNC240 - ASYNC250 - ASYNC251 - UP028 Closes #23425
Author
Parents
Loading