-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (69 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
80 lines (69 loc) · 1.81 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[project]
name = "fastapi-oauth20"
description = "在 FastAPI 中异步授权 OAuth 2.0 客户端"
authors = [
{ name = "Wu Clan", email = "jianhengwu0407@gmail.com" },
]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
dynamic = ['version']
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"httpx>=0.18.0",
]
[project.urls]
homepage = "https://github.com/fastapi-practices/fastapi_oauth20"
repository = "https://github.com/fastapi-practices/fastapi_oauth20"
[dependency-groups]
dev = [
"click==8.2.1",
"fastapi>=0.136.0",
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.1.0",
"respx>=0.23.1",
"ty>=0.0.31",
]
lint = [
"prek>=0.3.9",
]
docs = [
"mkdocs-material==9.6.7",
"mkdocs-glightbox==0.4.0"
]
[tool.uv]
python-downloads = "manual"
default-groups = ["dev", "lint"]
[tool.ruff]
line-length = 120
unsafe-fixes = true
target-version = "py310"
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
lines-between-types = 1
order-by-type = true
[tool.ruff.format]
quote-style = "single"
[tool.pdm]
distribution = true
version = { source = "file", path = "fastapi_oauth20/__init__.py" }
[tool.hatch.build.targets.wheel]
packages = ["fastapi_oauth20"]
[tool.hatch.version]
path = "fastapi_oauth20/__init__.py"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"