-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (100 loc) · 2.66 KB
/
pyproject.toml
File metadata and controls
110 lines (100 loc) · 2.66 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[project]
name = "star-openapi"
dynamic = ["version"]
description = "A simple async API framework based on Starlette."
readme = "README.md"
maintainers = [{ name = "llc", email = "luolingchun@outlook.com" }]
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
# "Development Status :: 1 - Planning",
# "Development Status :: 2 - Pre-Alpha",
# "Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
# "Development Status :: 6 - Mature",
# "Development Status :: 7 - Inactive",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.11"
dependencies = [
"starlette>=0.50.0",
"pydantic>=2.0.0",
"jinja2>=3.1.2",
"uvicorn[standard]>=0.40.0",
"click>=8.0.0",
]
[project.urls]
Homepage = "https://github.com/luolingchun/star-openapi"
Documentation = "https://luolingchun.github.io/star-openapi"
[project.optional-dependencies]
full = [
"itsdangerous",
"python-multipart",
"pyyaml",
"httpx",
]
# ui templates
swagger = ["star-openapi-swagger"]
redoc = ["star-openapi-redoc"]
rapidoc = ["star-openapi-rapidoc"]
rapipdf = ["star-openapi-rapipdf"]
scalar = ["star-openapi-scalar"]
elements = ["star-openapi-elements"]
[dependency-groups]
ty = ["ty"]
ruff = ["ruff"]
test = ["pytest", "httpx"]
doc = [
"mkdocs-static-i18n>=1.0",
"mkdocstrings[python]",
"mkdocs-material",
"mkdocs-glightbox",
"pyyaml",
"mike",
]
dev = [
"itsdangerous",
"python-multipart",
"pyyaml",
"httpx",
"star-openapi-swagger",
"star-openapi-redoc",
"star-openapi-rapidoc",
"star-openapi-rapipdf",
"star-openapi-scalar",
"star-openapi-elements"
]
[project.scripts]
star = "star_openapi.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "star_openapi/__version__.py"
[tool.uv]
default-groups = "all"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"I", # Import related rules
"E4", # Import order
"E7", # Statement issues
"E9", # Runtime errors
"F", # Pyflakes rules
"Q", # flake8-quotes
"UP045", # Use X | None for type annotations
]
[tool.ruff.lint.per-file-ignores]
"star_openapi/__init__.py" = ["F401"]
"star_openapi/models/__init__.py" = ["F401"]