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
|
||||
# SPDX-License-Identifier: MIT
|
||||
# Copyright (c) 2026 Rug Munch Media LLC
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Multi-Channel Alerting System.
|
||||
SMS, Email, Microsoft Teams, Discord, Telegram alerts."""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Enterprise SSO / Auth Connector System.
|
||||
Credential vault, session persistence, SSO flow automation, CAPTCHA integration."""
|
||||
from paths import PRY_DATA_DIR
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Email Inbox Scraping.
|
||||
Connect Gmail/Outlook, extract structured data from emails."""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Data Enrichment Pipeline.
|
||||
Enrich scraped data with company info, social profiles, tech stack detection."""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — structured extraction strategies.
|
||||
CSS/XPath-based extraction (no LLM needed) + chunking strategies for LLM extraction."""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Adaptive Freshness Scheduling.
|
||||
Conditional scraping, content fingerprinting, staleness dashboard, adaptive frequency."""
|
||||
from paths import PRY_DATA_DIR
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — GraphQL Auto-Discovery.
|
||||
Detects GraphQL endpoints, runs introspection queries, generates optimized queries.
|
||||
Many modern sites (Shopify, GitHub, Twitter/X, etc.) have GraphQL APIs that are
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — scheduled monitors with AI change detection.
|
||||
Cron-based monitors that diff content and judge meaningful changes."""
|
||||
from paths import PRY_DATA_DIR
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Image OCR using Tesseract.
|
||||
Extract text from images on web pages. Uses pytesseract + Pillow."""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — SEO Content Change Monitor.
|
||||
Track competitor meta tags, titles, descriptions, headings, content changes."""
|
||||
from paths import PRY_DATA_DIR
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
# SPDX-License-Identifier: BSL-1.1
|
||||
# Copyright (c) 2026 Rug Munch Media LLC
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Page Structure Monitor.
|
||||
Track CSS selector validity over time. Alert before scrapers break."""
|
||||
from paths import PRY_DATA_DIR
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import httpx
|
||||
"""Pry — Webhook Delivery Service.
|
||||
Reliable webhook delivery with retries, signing (HMAC), and dead letter queue."""
|
||||
from paths import PRY_DATA_DIR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue