[flake8-async] Implement blocking-http-call-httpx (ASYNC212) (#20091)

## Summary

Adds new rule to find and report use of `httpx.Client` in synchronous
functions.

See issue #8451

## Test Plan

New snapshots for `ASYNC212.py` with `cargo insta test`.
This commit is contained in:
Amethyst Reese
2025-08-27 15:19:01 -07:00
committed by GitHub
parent d75ef3823c
commit af259faed5
8 changed files with 396 additions and 0 deletions

1
ruff.schema.json generated
View File

@@ -3013,6 +3013,7 @@
"ASYNC2",
"ASYNC21",
"ASYNC210",
"ASYNC212",
"ASYNC22",
"ASYNC220",
"ASYNC221",