-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.91 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (58 loc) · 1.91 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "decisa"
version = "0.1.0"
description = "Official Python SDK for the Decisa server-side ingest API (conversions + events)."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Decisa" }]
keywords = ["decisa", "attribution", "conversions", "analytics", "capi", "tracking"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: 3 :: Only",
"Typing :: Typed",
]
dependencies = ["httpx>=0.23"]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"respx>=0.20",
"mypy>=1.0",
"ruff>=0.4",
"anyio>=3.0",
]
[project.urls]
Homepage = "https://decisa.ai"
Documentation = "https://docs.decisa.ai"
[tool.hatch.build.targets.wheel]
packages = ["src/decisa"]
[tool.mypy]
# Analysis target: mypy 2.x requires >= 3.10 here, but the package source stays
# 3.9-compatible (declared by requires-python and the ruff target-version).
python_version = "3.10"
strict = true
files = ["src"]
[tool.ruff]
target-version = "py39"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
# UP (pyupgrade) is intentionally excluded: this package targets Python 3.9 and
# uses `from __future__ import annotations` throughout, so we keep the
# typing.Dict / typing.Optional spellings rather than PEP 585/604 syntax that
# would read as 3.10+-only at a glance. We keep the high-value lint families.
select = ["E", "F", "I", "B", "W"]
[tool.pytest.ini_options]
testpaths = ["tests"]