-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (89 loc) · 2.08 KB
/
pyproject.toml
File metadata and controls
100 lines (89 loc) · 2.08 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
[project]
name = "clientele"
version = "1.11.1"
description = "Clientele is a different way to build Python API Clients"
authors = [{ name = "Paul Hallett", email = "paulandrewhallett@gmail.com" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"httpx>=0.28.1",
"click>=8.3.1",
"pydantic>=2.12.5",
"rich>=14.2.0",
"cicerone==0.3.0",
"pyyaml>=6.0.3",
"types-pyyaml>=6.0.12.20250915",
"jinja2>=3.1.6",
"ruff>=0.14.10",
"pydantic-settings>=2.12.0",
"stamina>=25.2.0",
]
[project.urls]
Homepage = "https://clientele.dev"
Changelog = "https://docs.clientele.dev/CHANGELOG/"
Documentation = "https://docs.clientele.dev/"
Issues = "https://github.com/phalt/clientele/issues"
[project.scripts]
clientele = "clientele.cli:cli_group"
[project.entry-points.mypy]
clientele = "clientele.mypy"
[dependency-groups]
dev = [
"fastapi[standard]>=0.127.0",
"ty",
"mkdocs>=1.6.1",
"ipython>=8.37.0",
"mkdocs-material>=9.6.22",
"respx>=0.22.0",
"pytest>=9.0.2",
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
"pytest-httpserver>=1.1.3",
"fastapi>=0.100.0",
"uvicorn>=0.20.0",
"django>=4.2",
"djangorestframework>=3.14.0",
"drf-spectacular>=0.26.0",
"django-ninja>=1.0.0",
"mypy>=1.19.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["clientele"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I001",
]
[tool.coverage.run]
omit = [
"*/templates/*.jinja2",
"clientele/generators/*/templates/*.jinja2",
"server_examples/*",
"clientele/mypy.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]