-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (47 loc) · 1.46 KB
/
pyproject.toml
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
[tool.poetry]
name = "opentelemetry-instrumentation-kstreams"
version = "0.4.1"
description = "OTEL for kstreams"
authors = ["Santiago Fraire Willemoes <[email protected]>"]
readme = "README.md"
packages = [
{ include = "opentelemetry_instrumentation_kstreams", from = "src" },
]
[tool.poetry.dependencies]
python = "^3.8"
opentelemetry-api = "^1.27.0"
opentelemetry-instrumentation = "^0.48b0"
opentelemetry-semantic-conventions = "^0.48b0"
kstreams = { version = ">=0.17.0", optional = true }
[tool.poetry.group.dev.dependencies]
ruff = "^0.6"
pytest = "^8"
mypy = "^1.11"
ipython = "^8"
[tool.poetry.extras]
instruments = ["kstreams"]
[tool.poetry.group.test.dependencies]
opentelemetry-test-utils = "^0.48b0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
select = ["I"]
[tool.ruff.lint.isort]
known-first-party = ["opentelemetry_instrumentation_kstreams", "tests"]
[tool.commitizen]
version_provider = "poetry"
name = "cz_kpn"
bump_message = "BUMP: version $current_version → $new_version"
tag_format = "$version"
version_files = [
"README.md:^Version",
"src/opentelemetry_instrumentation_kstreams/version.py:__version__",
]
update_changelog_on_bump = true
major_version_zero = true # Remove this for next one to go to v1.0
[tool.mypy]
ignore_missing_imports = true
mypy_path = "src"
[tool.poetry.plugins.opentelemetry_instrumentor]
kstreams = "opentelemetry_instrumentation_kstreams:KStreamsInstrumentor"