mirror of
https://github.com/RhenCloud/Cloud-Index.git
synced 2025-12-06 07:06:41 +08:00
43 lines
972 B
TOML
43 lines
972 B
TOML
[project]
|
|
name = "Cloud-Index"
|
|
version = "0.11.2"
|
|
description = "A cloud storage index system based on a number of cloud storage platforms"
|
|
authors = [{ name = "RhenCloud", email = "i@rhen.cloud" }]
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"flask>=3.1.2",
|
|
"uvicorn[standard]>=0.38.0",
|
|
"pydantic>=2.12.4",
|
|
"requests>=2.32.5",
|
|
"boto3>=1.40.69",
|
|
"dotenv>=0.9.9",
|
|
"pillow>=11.3.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["ruff>=0.1.6"]
|
|
|
|
# 添加运行脚本配置
|
|
# [project.scripts]
|
|
# start = "flask run api:app"
|
|
# dev = "ruff run --watch api/app.py"
|
|
|
|
# [build-system]
|
|
# requires = ["setuptools>=45", "wheel"]
|
|
# build-backend = "setuptools.build_meta"
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"C", # flake8-comprehensions
|
|
"B", # flake8-bugbear
|
|
]
|
|
extend-ignore = [
|
|
"E501", # line too long, handled by black
|
|
]
|