diff --git a/captn/captn_agents/backend/tools/_team_with_client_tools.py b/captn/captn_agents/backend/tools/_team_with_client_tools.py index 8a34e09f..f80eabff 100644 --- a/captn/captn_agents/backend/tools/_team_with_client_tools.py +++ b/captn/captn_agents/backend/tools/_team_with_client_tools.py @@ -5,7 +5,7 @@ def create_client(openapi_url: str) -> OpenAPI: - with httpx.Client() as httpx_client: + with httpx.Client() as httpx_client: # nosec [B113] response = httpx_client.get(openapi_url) response.raise_for_status() openapi_spec = response.text diff --git a/google_ads/application.py b/google_ads/application.py index bc37c1ed..fb628073 100644 --- a/google_ads/application.py +++ b/google_ads/application.py @@ -166,7 +166,7 @@ async def login_callback( "grant_type": "authorization_code", } - async with httpx.AsyncClient() as client: + async with httpx.AsyncClient() as client: # nosec [B113] response = await client.post( oauth2_settings["tokenUrl"], data=token_request_data ) @@ -174,7 +174,7 @@ async def login_callback( if response.status_code == 200: token_data = response.json() - async with httpx.AsyncClient() as client: + async with httpx.AsyncClient() as client: # nosec [B113] userinfo_response = await client.get( "https://www.googleapis.com/oauth2/v2/userinfo", headers={"Authorization": f"Bearer {token_data['access_token']}"}, diff --git a/pyproject.toml b/pyproject.toml index 75aabb4b..0460670a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,14 +60,14 @@ lint = [ "isort>=5", "ruff==0.6.4", "pyupgrade-directories", - "bandit==1.7.9", + "bandit==1.7.10", "semgrep==1.78.0", "pre-commit==3.8.0", "detect-secrets==1.5.0", ] test-core = [ - "coverage[toml]==7.6.0", + "coverage[toml]==7.6.1", "pytest==8.3.3", "pytest-asyncio>=0.23.6", "dirty-equals==0.8.0", @@ -94,12 +94,12 @@ agents = [ "prisma==0.13.1", "google-ads==25.0.0", "httpx==0.27.0", - "uvicorn==0.30.6", + "uvicorn==0.31.0", "python-dotenv==1.0.1", "pyautogen[websurfer,websockets,anthropic,together]==0.2.35", "pandas>=2.1", "fastcore==1.7.4", - "pydantic==2.8.2", + "pydantic==2.9.2", "tenacity==9.0.0", "prometheus-client==0.21.0", "opentelemetry-distro==0.48b0", @@ -110,7 +110,7 @@ agents = [ "aiofiles==24.1.0", "fastagency[studio,openapi]==0.1.0", "markdownify==0.13.1", - "python-multipart==0.0.10", + "python-multipart==0.0.12", "flaml==2.2.0", ]