Enable ruff S113 rule (#11375)

* Enable ruff S113 rule

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Maxim Smolskiy
2024-04-21 20:34:18 +03:00
committed by GitHub
parent 7b88e15b1c
commit 2702bf9400
36 changed files with 68 additions and 46 deletions

View File

@ -42,7 +42,7 @@ def fetch_pharmacy_and_price_list(drug_name: str, zip_code: str) -> list | None:
return None
request_url = BASE_URL.format(drug_name, zip_code)
response = get(request_url)
response = get(request_url, timeout=10)
# Is the response ok?
response.raise_for_status()