-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (51 loc) · 1.3 KB
/
pyproject.toml
File metadata and controls
58 lines (51 loc) · 1.3 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
[project]
name = "fastapi-admin"
version = "0.1.0"
description = "基于 FastAPI 的后台管理系统"
readme = "README.md"
requires-python = ">=3.13"
authors = [{ name = "lijianqiao", email = "[email protected]" }]
dependencies = [
"aerich>=0.9.1",
"asyncpg>=0.30.0",
"fastapi[standard]>=0.116.1",
"loguru>=0.7.3",
"passlib[bcrypt]>=1.7.4",
"prometheus-client>=0.22.1",
"phonenumbers>=9.0.12",
"psutil>=7.0.0",
"pydantic-settings>=2.10.1",
"python-jose[cryptography]>=3.5.0",
"redis>=6.4.0",
"tortoise-orm>=0.25.1",
"uvicorn[standard]>=0.35.0",
]
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.ruff]
line-length = 120
target-version = "py313"
exclude = [".git", "__pycache__", ".venv", ".vscode"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP"]
ignore = ["E501", "B008", "W191"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
known-first-party = ["app"]
[tool.aerich]
tortoise_orm = "app.core.database.TORTOISE_ORM"
location = "./migrations"
src_folder = "./."
[dependency-groups]
dev = [
"coverage>=7.10.5",
"httpx>=0.28.1",
"pytest>=8.4.1",
"pytest-asyncio>=1.1.0",
"pytest-html>=4.1.1",
"pytest-xdist>=3.8.0",
]