-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (80 loc) · 2.09 KB
/
pyproject.toml
File metadata and controls
94 lines (80 loc) · 2.09 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
[project]
name = "openapi-burrito"
dynamic = ["version"]
description = "A lightweight CLI tool to generate a type-safe Python client from an OpenAPI specification."
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [
{name = "Simon Lund", email = "simon.lund@lmu.de"}
]
keywords = [
"openapi",
"openapi-fetch",
"swagger",
"type-safe",
"code-generation",
"sdk-generator",
"httpx",
]
classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
]
dependencies = [
"httpx~=0.28.1",
"jinja2~=3.1.6",
"openapi-spec-validator~=0.7.2",
"prance[osv]~=25.4.8.0",
"typer~=0.21.0",
]
[project.optional-dependencies]
preview = [
"fastapi[standard]~=0.128.0",
]
[project.urls]
Homepage = "https://github.com/simon-lund/openapi-burrito"
Documentation = "https://github.com/simon-lund/openapi-burrito#readme"
Repository = "https://github.com/simon-lund/openapi-burrito.git"
Issues = "https://github.com/simon-lund/openapi-burrito/issues"
[project.scripts]
# CLI entry point
openapi-burrito = "openapi_burrito.cli:app"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["/openapi_burrito", "/README.md", "/LICENSE"]
exclude = ["examples/", "tests/"]
[tool.hatch.build.targets.wheel]
packages = ["openapi_burrito"]
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "N"] # Error, Flake, Import sort, Upgrade, Naming
fixable = ["ALL"]
[tool.mypy]
python_version = "3.12"
strict = true
[[tool.mypy.overrides]]
module = "prance.*"
ignore_missing_imports = true
[tool.hatch.version]
source = "vcs"
[dependency-groups]
dev = [
"mypy>=1.14.0",
"pre-commit>=4.5.1",
"ruff>=0.9.0",
"types-pyyaml>=6.0.12",
]
test = [
"pytest>=9.0.2",
"pytest-cov>=4.1.0",
"cattrs>=25.3.0",
"respx>=0.21.0",
]