-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (77 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
89 lines (77 loc) · 1.61 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
[project]
name = "sap-cloud-sdk"
version = "0.4.0"
description = "SAP Cloud SDK for Python"
readme = "README.md"
license = "Apache-2.0"
authors = [
{ name = "SAP SE", email = "ospo@sap.com" }
]
requires-python = ">=3.11"
dependencies = [
"minio~=7.2.16",
"setuptools~=80.9.0",
"requests~=2.31.0",
"requests-oauthlib~=2.0.0",
"pydantic~=2.12.3",
"hatchling~=1.27.0",
"opentelemetry-exporter-otlp-proto-grpc~=1.38.0",
"opentelemetry-exporter-otlp-proto-http~=1.38.0",
"opentelemetry-processor-baggage~=0.61b0",
"traceloop-sdk~=0.52.0"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/sap_cloud_sdk"]
[dependency-groups]
dev = [
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"pytest-bdd>=7.2.0",
"python-dotenv>=1.0.0",
"ty>=0.0.21",
"cryptography>=46.0.3",
"ruff>=0.8.0",
]
[tool.pytest.ini_options]
markers = [
"integration: marks tests as integration tests (requires Docker)",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*",
]
skip_empty = true
[tool.ruff]
exclude = [
".github",
"__pycache__",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
"build",
"dist",
"venv",
"tests/"
]
# Same as Black.
line-length = 88
indent-width = 4
# Assume Python 3.11+
target-version = "py311"
[tool.ruff.lint]
select = ["E9", "F", "W"]
ignore = []
[tool.ruff.format]
# Same as black
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ty.environment]
python-version = "3.11"