From 6773df3f4fa5c0de94146915f7eea20f394e7286 Mon Sep 17 00:00:00 2001 From: ulleo Date: Thu, 24 Sep 2026 10:29:55 +0800 Subject: [PATCH] chore: align ruff target with py311, ignore /logs/, rename g2-ssr package --- .gitignore | 6 ++++++ backend/pyproject.toml | 2 +- g2-ssr/package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c53da76a..b8ecbe8e 100644 --- a/.gitignore +++ b/.gitignore @@ -193,3 +193,9 @@ test.py sqlbot-xpack .claude +AGENTS.local.env + +# 本机环境配置与运行日志 +frontend/.npmrc +backend/logs/ +/logs/ diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 9c9f93d0..57533423 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -127,7 +127,7 @@ strict = true exclude = ["venv", ".venv", "alembic"] [tool.ruff] -target-version = "py310" +target-version = "py311" exclude = ["alembic"] [tool.ruff.lint] diff --git a/g2-ssr/package.json b/g2-ssr/package.json index 3564a4f8..06cd0f2c 100644 --- a/g2-ssr/package.json +++ b/g2-ssr/package.json @@ -1,5 +1,5 @@ { - "name": "vite-project", + "name": "sqlbot-g2-ssr", "private": true, "version": "0.0.0", "dependencies": {