-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
67 lines (58 loc) · 1.51 KB
/
pyproject.toml
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
[project]
name = "fastapi-oauth20"
description = "在 FastAPI 中异步授权 OAuth 2.0 客户端"
dynamic = [
"version",
]
authors = [
{ name = "Wu Clan", email = "[email protected]" },
]
dependencies = [
"httpx>=0.18.0",
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "MIT" }
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",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
homepage = "https://github.com/fastapi-practices/fastapi_oauth20"
repository = "https://github.com/fastapi-practices/fastapi_oauth20"
[dependency-groups]
dev = [
"pytest>=8.1.1",
"pytest-asyncio>=0.23.6",
"fastapi>=0.100.0",
"respx>=0.22.0",
]
lint = [
"ruff>=0.9.9",
"pre-commit>=4.1.0",
]
[tool.ruff]
line-length = 120
cache-dir = "./.ruff_cache"
[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.pdm.scripts]
lint = "pre-commit run --all-files"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"