From 5215d66d404bb9bc0593187cecd4efc489478476 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sun, 14 Jun 2026 13:50:49 -0400 Subject: [PATCH] adding noqa to DbSession --- python/api/routers/contact.py | 2 +- python/api/routers/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/api/routers/contact.py b/python/api/routers/contact.py index 9aa398d..554713b 100644 --- a/python/api/routers/contact.py +++ b/python/api/routers/contact.py @@ -9,7 +9,7 @@ from pydantic import BaseModel from sqlalchemy import select from sqlalchemy.orm import selectinload -from python.api.dependencies import DbSession +from python.api.dependencies import DbSession # noqa: TC001 this is a FastAPI needed at runtime from python.orm.richie.contact import Contact, ContactRelationship, Need, RelationshipType TEMPLATES_DIR = Path(__file__).parent.parent / "templates" diff --git a/python/api/routers/views.py b/python/api/routers/views.py index dc37f83..1ab819c 100644 --- a/python/api/routers/views.py +++ b/python/api/routers/views.py @@ -9,7 +9,7 @@ from fastapi.templating import Jinja2Templates from sqlalchemy import select from sqlalchemy.orm import Session, selectinload -from python.api.dependencies import DbSession +from python.api.dependencies import DbSession # noqa: TC001 this is a FastAPI needed at runtime from python.orm.richie.contact import Contact, ContactRelationship, Need, RelationshipType TEMPLATES_DIR = Path(__file__).parent.parent / "templates"