From 71e6b17ea436cea12e8cc7d92af49865fa39ef7e Mon Sep 17 00:00:00 2001 From: ThePhaseless Date: Sat, 16 Aug 2025 22:41:26 +0000 Subject: [PATCH] bump deps --- pyproject.toml | 13 +++---------- src/endpoints.py | 2 +- uv.lock | 8 +++----- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b4d719d..724a445 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,11 +8,10 @@ version = "0.1.0" description = "API for getting cookies for Cloudflare challenges" readme = "README.md" dependencies = [ - "fastapi[standard]==0.116.1", - "pyautogui==0.9.54", - "pydantic==2.11.7", + "fastapi[standard]==0.116.*", + "pyautogui==0.9.*", + "pydantic==2.11.*", "seleniumbase==4.41.0", - "uvicorn==0.35.0", ] urls = { repository = "https://github.com/ThePhaseless/Byparr" } @@ -56,9 +55,3 @@ ignore = [ ] select = ["ALL"] extend-safe-fixes = ["D415"] - -[tool.pytest] -log_cli = "True" - -[tool.pytest.ini_options] -asyncio_default_fixture_loop_scope = "function" diff --git a/src/endpoints.py b/src/endpoints.py index be3e967..c1d6d5f 100644 --- a/src/endpoints.py +++ b/src/endpoints.py @@ -64,7 +64,7 @@ def read_item(request: LinkRequest, sb: SeleniumDep) -> LinkResponse: if sb.get_title() not in CHALLENGE_TITLES: break - except Exception as e: # noqa + except Exception as e: # noqa: BLE001 logger.warning(f"Captcha click attempt {attempt + 1} failed: {e}") time.sleep(5) diff --git a/uv.lock b/uv.lock index 52f8bdc..affd1dc 100644 --- a/uv.lock +++ b/uv.lock @@ -70,7 +70,6 @@ dependencies = [ { name = "pyautogui" }, { name = "pydantic" }, { name = "seleniumbase" }, - { name = "uvicorn" }, ] [package.dev-dependencies] @@ -87,11 +86,10 @@ test = [ [package.metadata] requires-dist = [ - { name = "fastapi", extras = ["standard"], specifier = "==0.116.1" }, - { name = "pyautogui", specifier = "==0.9.54" }, - { name = "pydantic", specifier = "==2.11.7" }, + { name = "fastapi", extras = ["standard"], specifier = "==0.116.*" }, + { name = "pyautogui", specifier = "==0.9.*" }, + { name = "pydantic", specifier = "==2.11.*" }, { name = "seleniumbase", specifier = "==4.41.0" }, - { name = "uvicorn", specifier = "==0.35.0" }, ] [package.metadata.requires-dev]