-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (113 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
123 lines (113 loc) · 1.83 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
111
112
113
114
115
116
117
118
119
120
121
122
123
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openretcon"
version = "0.0.1"
description = "Open API client code generator."
authors = [{ name = "luwqz1", email = "howluwqz1@gmail.com" }]
license = { file = "LICENSE" }
maintainers = [{ name = "luwqz1", email = "howluwqz1@gmail.com" }]
keywords = [
"spec",
"msgspex",
"openapi",
"generator",
"codegen",
"typegen",
"api client",
"openapispec",
"controller",
"api controller",
"oas",
]
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"msgspec>=0.20.0",
"niquests>=3.18.2",
]
[dependency-groups]
dev = [
"ruff>=0.15.7,<1",
"basedpyright>=1.38.4,<2",
"pre-commit>=4.5.1,<5",
]
[tool.hatch.build.targets.wheel]
packages = ["retcon"]
[tool.ruff]
line-length = 160
target-version = "py314"
[tool.ruff.format]
quote-style = "double"
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
select = [
"I",
"D",
"N",
"PLR",
"Q",
"COM",
"TC",
"YTT",
"SIM",
"RUF022",
]
ignore = [
"COM812",
"N805",
"N815",
"N818",
"TC001",
"TC002",
"TC003",
"TC004",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D202",
"D203",
"D205",
"D209",
"D211",
"D213",
"D400",
"D401",
"D404",
"D415",
"PLR2004",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
]
fixable = ["ALL"]
unfixable = ["ERA"]
exclude = [".venv", ".idea", "docs"]
[tool.uv]
package = true
[project.optional-dependencies]
cli = ["typer>=0.24.0"]
py = ["saronia", "ruff"]
[project.scripts]
retcon = "retcon.cli:main"
[tool.pyright]
exclude = [
".venv",
".idea",
".ruff_cache",
".pytest_cache",
"docs",
"local",
]
typeCheckingMode = "basic"
pythonPlatform = "All"
pythonVersion = "3.14"
reportMissingImports = true
reportMissingTypeStubs = false
reportSelfClsParameterName = false