From 7757a63392db1d6f670e70a363e532dbe6caaf3a Mon Sep 17 00:00:00 2001 From: mohit-tanwar-dev <275454979+mohit-tanwar-dev@users.noreply.github.com> Date: Wed, 5 Aug 2026 07:16:24 +0000 Subject: [PATCH 1/2] fix(lint): import AsyncIterator from collections.abc - Fixes ruff UP035 in app/main.py - Tone down Dependabot from weekly to monthly, 5->2 PRs per ecosystem - Closes #N/A --- .github/dependabot.yml | 8 ++++---- app/main.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 34a64a1..3fb6ad6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,18 +3,18 @@ updates: - package-ecosystem: "pip" directory: "/" schedule: - interval: "weekly" + interval: "monthly" day: "monday" - open-pull-requests-limit: 5 + open-pull-requests-limit: 2 labels: - "dependencies" - "python" - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" day: "monday" - open-pull-requests-limit: 5 + open-pull-requests-limit: 2 labels: - "dependencies" - "github-actions" diff --git a/app/main.py b/app/main.py index 58cdead..ff87c7d 100644 --- a/app/main.py +++ b/app/main.py @@ -7,7 +7,7 @@ from __future__ import annotations from contextlib import asynccontextmanager -from typing import AsyncIterator +from collections.abc import AsyncIterator from fastapi import FastAPI From 00ee414b96cb6a62fffb54413efca4de87a23091 Mon Sep 17 00:00:00 2001 From: mohit-tanwar-dev <275454979+mohit-tanwar-dev@users.noreply.github.com> Date: Wed, 5 Aug 2026 07:19:13 +0000 Subject: [PATCH 2/2] style: apply ruff --fix and ruff format --- app/core/logging.py | 4 +++- app/main.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/core/logging.py b/app/core/logging.py index 42da8d3..b3d0cf7 100644 --- a/app/core/logging.py +++ b/app/core/logging.py @@ -26,4 +26,6 @@ def configure_logging() -> None: root.setLevel(level) # Quiet down noisy third-party loggers - logging.getLogger("uvicorn.access").setLevel(logging.WARNING if not settings.debug else logging.INFO) + logging.getLogger("uvicorn.access").setLevel( + logging.WARNING if not settings.debug else logging.INFO + ) diff --git a/app/main.py b/app/main.py index ff87c7d..83d9658 100644 --- a/app/main.py +++ b/app/main.py @@ -6,8 +6,8 @@ from __future__ import annotations -from contextlib import asynccontextmanager from collections.abc import AsyncIterator +from contextlib import asynccontextmanager from fastapi import FastAPI