-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (75 loc) · 2.33 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (75 loc) · 2.33 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "capawesome-cloud"
dynamic = ["version"]
description = "Python SDK for the Capawesome Cloud API"
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
authors = [{ name = "Capawesome Team", email = "support@capawesome.io" }]
keywords = ["capawesome", "capacitor", "live-updates", "sdk", "api"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.27,<1",
"pydantic>=2.7,<3",
]
[project.urls]
Homepage = "https://capawesome.io/cloud"
Documentation = "https://cloud.capawesome.io/docs"
Repository = "https://github.com/capawesome-team/cloud-python"
"API Reference" = "https://api.cloud.capawesome.io/openapi"
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-cov>=5",
"respx>=0.21",
"ruff>=0.6",
"mypy>=1.11",
"commitizen>=3.29",
]
[tool.hatch.version]
path = "src/capawesome_cloud/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/capawesome_cloud"]
[tool.ruff]
line-length = 100
target-version = "py39"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "W", "N", "C4", "SIM"]
# UP007/UP035/UP045 push 3.10+ syntax (X | None, collections.abc generics) that
# breaks pydantic annotation evaluation on Python 3.9, which we still support.
ignore = ["E501", "UP006", "UP007", "UP035", "UP045"]
[tool.ruff.lint.isort]
known-first-party = ["capawesome_cloud"]
[tool.mypy]
# Analysis target; the runtime code remains compatible down to Python 3.9.
python_version = "3.10"
strict = true
warn_unused_ignores = true
disallow_any_generics = true
files = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.commitizen]
version = "0.1.0"
version_files = ["src/capawesome_cloud/_version.py:__version__"]
tag_format = "v$version"
update_changelog_on_bump = true
major_version_zero = true