From 0a2534d4b6debf4f2f45adb872d7869899bd0616 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Sat, 8 Feb 2025 21:12:54 +0800 Subject: [PATCH] build: use uv --- chii/curd/__init__.py | 2 +- chii/db/sa.py | 28 ++++++++++++++-------------- pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/chii/curd/__init__.py b/chii/curd/__init__.py index c175b4f..636d90d 100644 --- a/chii/curd/__init__.py +++ b/chii/curd/__init__.py @@ -2,6 +2,6 @@ from .exceptions import NotFoundError __all__ = [ - "count", "NotFoundError", + "count", ] diff --git a/chii/db/sa.py b/chii/db/sa.py index 556f014..71a2714 100644 --- a/chii/db/sa.py +++ b/chii/db/sa.py @@ -30,26 +30,26 @@ __all__ = [ "CHAR", - "selectinload", - "joinedload", - "Text", "Column", - "subqueryload", - "String", "DateTime", - "func", - "join", - "text", - "select", - "update", - "insert", + "String", + "Text", "and_", - "func", "count", - "or_", - "get", "delete", + "func", + "func", + "get", + "insert", + "join", + "joinedload", + "or_", + "select", + "selectinload", + "subqueryload", "sync_session_maker", + "text", + "update", ] diff --git a/pyproject.toml b/pyproject.toml index 81ca25e..cb5c934 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,7 +91,7 @@ select = [ "RUF", "SIM", "SLF", - "TCH", + "TC", "TID", "TRY", "YTT",