S113 is reported by ruff for httpx.AsyncClient() (https://docs.astral.sh/ruff/rules/request-without-timeout/)
whereas httpx works differntly than requests in this area and there is a finite default: https://github.com/encode/httpx/blob/db9072f998b53ff66d50778bf5edee8e2cc8ede1/httpx/_client.py#L1390
Minimal app do reproduce:
import httpx
client = httpx.AsyncClient()
ruff version = 0.5.1.
S113is reported byruffforhttpx.AsyncClient()(https://docs.astral.sh/ruff/rules/request-without-timeout/)whereas
httpxworks differntly thanrequestsin this area and there is a finite default: https://github.com/encode/httpx/blob/db9072f998b53ff66d50778bf5edee8e2cc8ede1/httpx/_client.py#L1390Minimal app do reproduce:
ruffversion =0.5.1.