From 4aaa55f9749f21fff4cc95658edf7fee55245dfc Mon Sep 17 00:00:00 2001 From: rajpreetcodes Date: Mon, 19 Oct 2026 01:37:13 +0530 Subject: [PATCH] fix(typing): un-ignore ty no-matching-overload rule and fix Tag.find attrs argument --- pyproject.toml | 1 - web_programming/fetch_well_rx_price.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 932f64f2e00a..9b5c4b55a0aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -319,7 +319,6 @@ environment.python-version = "3.15" rules.call-non-callable = "ignore" rules.invalid-argument-type = "ignore" rules.invalid-return-type = "ignore" -rules.no-matching-overload = "ignore" rules.not-iterable = "ignore" rules.not-subscriptable = "ignore" rules.parameter-already-assigned = "ignore" diff --git a/web_programming/fetch_well_rx_price.py b/web_programming/fetch_well_rx_price.py index f50c76e4806a..974fcc37e67c 100644 --- a/web_programming/fetch_well_rx_price.py +++ b/web_programming/fetch_well_rx_price.py @@ -56,7 +56,7 @@ def fetch_pharmacy_and_price_list(drug_name: str, zip_code: str) -> list | None: pharmacy_name = grid.find("p", {"class": "list-title"}).text # Get the price of the drug. - price = grid.find("span", {"p", "price price-large"}).text + price = grid.find("span", {"class": "price price-large"}).text pharmacy_price_list.append( {