mirror of
https://github.com/RhenCloud/Cloud-Index.git
synced 2025-12-06 15:26:10 +08:00
feat: 从 pyproject.toml 读取项目版本号并注入到模板中
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[project]
|
||||
name = "Cloud-Index"
|
||||
version = "0.1.0"
|
||||
version = "0.9.0"
|
||||
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.9"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"flask>=3.1.2",
|
||||
"uvicorn[standard]>=0.38.0",
|
||||
@@ -28,7 +28,7 @@ dev = ["ruff>=0.1.6"]
|
||||
# build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
line-length = 120
|
||||
select = [
|
||||
"E", # pycodestyle errors
|
||||
"W", # pycodestyle warnings
|
||||
|
||||
Reference in New Issue
Block a user