mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 23:54:36 -05:00
[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:
1
ruff.schema.json
generated
1
ruff.schema.json
generated
@@ -3013,6 +3013,7 @@
|
||||
"ASYNC2",
|
||||
"ASYNC21",
|
||||
"ASYNC210",
|
||||
"ASYNC212",
|
||||
"ASYNC22",
|
||||
"ASYNC220",
|
||||
"ASYNC221",
|
||||
|
||||
Reference in New Issue
Block a user