-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.27 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (57 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[project]
name = "gemini-fastapi"
version = "1.0.0"
description = "FastAPI Server built on Gemini Web API"
readme = "README.md"
requires-python = "==3.13.*"
dependencies = [
"curl-cffi>=0.14.0",
"fastapi>=0.135.0",
"gemini-webapi>=1.19.2",
"httptools>=0.7.1",
"lmdb>=1.7.5",
"loguru>=0.7.3",
"orjson>=3.11.7",
"pydantic-settings[yaml]>=2.13.1",
"uvicorn>=0.41.0",
"uvloop>=0.22.1; sys_platform != 'win32'",
]
[project.urls]
Repository = "https://github.com/Nativu5/Gemini-FastAPI"
[project.optional-dependencies]
dev = [
"pytest>=9.0.2",
"ruff>=0.15.4",
]
[dependency-groups]
dev = [
"gemini-fastapi[dev]",
]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"RUF", # ruff-specific rules
"TID", # flake8-tidy-imports
]
ignore = [
"E501", # line too long
]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = [
"fastapi.Depends",
"fastapi.Query",
"fastapi.security.HTTPBearer",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"