-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (70 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (70 loc) · 1.58 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
[project]
name = "fastapi-minimal"
version = "0.1.0"
authors = [
{ name = "Alpha", email = "dev@alpha93.kr" }
]
requires-python = ">=3.13"
dependencies = [
"pydantic>=2.9.0",
"starlette-minimal",
"typing-extensions>=4.8.0 ; python_full_version < '3.15'",
"typing-inspection>=0.4.2",
]
[dependency-groups]
dev = [
"alpha93-stubs>=1.2.2",
"basedpyright>=1.40.1",
"makepatch",
"mypy>=2.3.1",
"ruff>=0.16.8",
"ty>=0.0.83",
]
[tool.uv.sources]
makepatch = { git = "https://github.com/MadeByAlpha/makepatch.git" }
starlette-minimal = { git = "https://github.com/MadeByAlpha/Starlette.git" }
[build-system]
requires = [
"hatchling",
"makepatch @ git+https://github.com/MadeByAlpha/makepatch.git",
]
build-backend = "hatchling.build"
[tool.hatch.build.hooks.makepatch]
[tool.hatch.build.targets.wheel]
packages = ["src/alpha93"]
[tool.makepatch.source]
upstream = "https://github.com/fastapi/fastapi.git"
ref = "0.141.1"
include = { "fastapi" = "fastapi" }
exclude = [
]
work-exclude = [
".github",
"docs",
"docs_src",
"fastapi/.agents/",
"fastapi/openapi/",
"fastapi/__main__.py",
"fastapi/cli.py",
"fastapi/logger.py",
"fastapi/templating.py",
"fastapi/testclient.py",
"scripts",
"tests",
".gitignore",
".pre-commit-config.yaml",
".python-version",
"CITATION.cff",
"pyproject.toml",
"uv.lock",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["fastapi.datastructures.Default"]
[tool.ty.environment]
root = [
"./typings",
"./src",
"./work"
]