Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 2.13 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (76 loc) · 2.13 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
[build-system]
requires = ["setuptools==84.2.1"]
build-backend = "setuptools.build_meta"
[project]
name = "spreedly-composer-sdk-server"
version = "1.0.0"
description = "Composer Server SDK for Python"
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE", "THIRD-PARTY-LICENSES"]
authors = [
{name = "Spreedly", email = "support@spreedly.com"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"requests>=2.32.4",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"responses>=0.23.0",
# Pinned exactly so a linter release never fails an unrelated PR.
# Bump deliberately; Dependabot proposes these weekly.
"ruff==0.16.7",
"mypy==2.3.1",
"types-requests>=2.28.0",
]
[project.urls]
Homepage = "https://spreedly.com"
Documentation = "https://developer.spreedly.com"
Repository = "https://github.com/spreedly/composer-sdk-server-python"
[tool.setuptools.packages.find]
where = ["."]
include = ["composer*"]
[tool.setuptools.package-data]
composer = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=composer --cov-report=term-missing --cov-report=html --cov-report=xml"
[tool.coverage.run]
source = ["composer"]
omit = ["*/tests/*", "*/test_*.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true