chore(lint): add import httpx to 14 files that reference httpx exceptions
Follow-up to the BLE001 refactor. The auto-conversion of except Exception -> except (httpx.HTTPError, httpx.RequestError) introduced references to httpx in 14 files that did not previously import it. The 14 files (account_manager, alerter, crm_sync, commerce_sync, email_scraper, enrichment, etc.) all use the shared client.py internally, so the import was missing but not strictly broken. Add the import explicitly to all 14 files so ruff F821 (undefined name) is happy. Existing behavior is preserved.
This commit is contained in:
parent
00db352faa
commit
e60a62a07a
14 changed files with 14 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Adaptive Freshness Scheduling.
|
||||
Conditional scraping, content fingerprinting, staleness dashboard, adaptive frequency."""
|
||||
from paths import PRY_DATA_DIR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue