gemini2api / pyproject.toml
hins111's picture
Upload pyproject.toml
856896d verified
raw
history blame contribute delete
767 Bytes
[project]
name = "gemi2api-server"
version = "0.1.1"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"browser-cookie3>=0.20.1",
"fastapi>=0.115.12",
"gemini-webapi>=1.11.0",
"uvicorn[standard]>=0.34.1",
]
[[tool.uv.index]]
url = "https://pypi.org/simple"
default = true
[dependency-groups]
dev = [
"ruff>=0.11.7",
]
[tool.ruff]
line-length = 150 # 设置最大行长度
select = ["E", "F", "W", "I"] # 启用的规则(E: pycodestyle, F: pyflakes, W: pycodestyle warnings, I: isort)
ignore = ["E501"] # 忽略特定规则(如行长度警告)
[tool.ruff.format]
quote-style = "double" # 使用双引号
indent-style = "tab" # 使用空格缩进