-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
97 lines (85 loc) · 2 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
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
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[project]
authors = [{ name = "Rafał Krupiński", email = "[email protected]" }]
description = "Python async OpenAPI client library generator"
license = "AGPL-3.0"
name = "lapidary-render"
version = "0.12.0"
readme = "Readme.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Code Generators",
"Typing :: Typed",
]
keywords = [
"OpenAPI",
"OpenAPI3",
"CodeGen",
"Code Generation",
"Code Generator",
"OpenAPI Tools",
]
requires-python = "~=3.13"
dynamic=["dependencies"]
[tool.poetry]
packages = [{ include = "lapidary", from = "src" }]
[tool.poetry.dependencies]
python = "^3.13"
asyncclick = "^8"
httpx = "^0.28"
libcst = "^1.5"
openapi-pydantic = "^0.5"
pybase62 = "^1"
pydantic = "^2"
python-mimeparse = ">=1.6,<3.0"
ruamel-yaml = "^0.18"
tomli-w = "^1"
[project.urls]
Homepage = "https://lapidary.dev/"
Repository = "https://github.com/python-lapidary/lapidary-render"
[project.scripts]
lapidary = "lapidary.render:app"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4"
pytest = "^8"
pytest-asyncio = "^0.25"
pytest-httpx = "^0.35"
[tool.ruff]
target-version = "py313"
extend-exclude = [
"tests/e2e",
]
line-length = 120
namespace-packages = ["lapidary/render"]
src = ["src"]
[tool.ruff.lint]
extend-select = ['I', 'UP']
extend-ignore = [
'F401', 'F403', 'F405',
'UP040', 'UP008',
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
mypy_path = "src"
namespace_packages = true
ignore_missing_imports = true
python_version = "3.13"
packages = ['lapidary.render']
exclude = [
"tests/e2e",
]
[tool.pytest.ini_options]
norecursedirs = ['tests/e2e']
asyncio_default_fixture_loop_scope = 'function'
log_cli = true
testpaths = ["tests"]
pythonpath = ["src", "tests"]
addopts = "--color=yes"