chore: 更新项目配置文件和忽略规则

- 将.env.example重命名为.env-example并更新内容
- 清理.gitignore中不必要的规则
- 调整pyproject.toml中依赖和镜像源的顺序
This commit is contained in:
hblu 2026-01-12 10:55:49 +08:00
parent dda07904bb
commit 117c06c9c9
6 changed files with 3863 additions and 8 deletions

2
.env-example Normal file
View File

@ -0,0 +1,2 @@
# DeepSeek API Key
DEEPSEEK_API_KEY=sk-xxxx

View File

@ -1,2 +0,0 @@
# DeepSeek API Key
DEEPSEEK_API_KEY=your-key-here

1
.gitignore vendored
View File

@ -4,5 +4,4 @@ __pycache__/
.venv/ .venv/
.env .env
.DS_Store .DS_Store
models/*.pkl
.pytest_cache/ .pytest_cache/

BIN
models/model.pkl Normal file

Binary file not shown.

View File

@ -4,11 +4,6 @@ version = "0.1.0"
description = "机器学习 × LLM × Agent 课程设计模板" description = "机器学习 × LLM × Agent 课程设计模板"
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
[[tool.uv.index]]
url = "https://mirrors.aliyun.com/pypi/simple/"
default = true
dependencies = [ dependencies = [
"pydantic>=2.10", "pydantic>=2.10",
"pandera>=0.21", "pandera>=0.21",
@ -23,6 +18,10 @@ dependencies = [
"streamlit>=1.40", "streamlit>=1.40",
] ]
[[tool.uv.index]]
url = "https://mirrors.aliyun.com/pypi/simple/"
default = true
[dependency-groups] [dependency-groups]
dev = [ dev = [
"pytest>=8.0", "pytest>=8.0",

3857
uv.lock generated

File diff suppressed because it is too large Load Diff