CourseDesign/pyproject.toml
hblu 117c06c9c9 chore: 更新项目配置文件和忽略规则
- 将.env.example重命名为.env-example并更新内容
- 清理.gitignore中不必要的规则
- 调整pyproject.toml中依赖和镜像源的顺序
2026-01-12 10:55:49 +08:00

47 lines
852 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[project]
name = "ml-course-design"
version = "0.1.0"
description = "机器学习 × LLM × Agent 课程设计模板"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.10",
"pandera>=0.21",
"pydantic-ai>=0.7",
"polars>=1.0",
"pandas>=2.2",
"scikit-learn>=1.5",
"lightgbm>=4.5",
"seaborn>=0.13",
"joblib>=1.4",
"python-dotenv>=1.0",
"streamlit>=1.40",
]
[[tool.uv.index]]
url = "https://mirrors.aliyun.com/pypi/simple/"
default = true
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=1.3",
"ruff>=0.8",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.pytest.ini_options]
testpaths = ["tests"]