-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
140 lines (123 loc) · 3.29 KB
/
pyproject.toml
File metadata and controls
140 lines (123 loc) · 3.29 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
requires = ["setuptools >= 44.0.0", "wheel >= 0.30"]
build-backend = "setuptools.build_meta"
[project]
name = "otel-extensions"
description = "Python extensions for OpenTelemetry"
maintainers = [{name = "Joe Savage", email = "joe.savage@gmail.com"}]
version = "1.1.0"
license = {text = "Apache-2.0"}
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"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",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
keywords = ["otel", "opentelemetry", "debug"]
requires-python = ">=3.8"
dependencies = [
"opentelemetry-api",
"opentelemetry-sdk",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/s4v4g3/otel-extensions-python"
Source = "https://github.com/s4v4g3/otel-extensions-python"
Tracker = "https://github.com/s4v4g3/otel-extensions-python/issues"
[tool.setuptools]
zip-safe = true
platforms = ["any"]
license-files = ["LICENSE"]
include-package-data = false
[tool.setuptools.packages.find]
exclude = [
"example",
"tests",
"tools",
]
namespaces = false
[tool.setuptools.package-data]
otel_extensions = ["py.typed"]
[tool.distutils.sdist]
formats = "gztar"
[tool.distutils.bdist_wheel]
universal = true
[tool.coverage.report]
fail_under = 100
skip_covered = true
show_missing = true
omit = ["example/example.py"]
[tool.coverage.html]
show_contexts = true
skip_covered = false
skip_empty = false
[tool.coverage.paths]
source = [
"src",
".tox*/*/lib/python*/site-packages",
".tox*/pypy*/site-packages",
".tox*\\*\\Lib\\site-packages\\",
"*/src",
'*\src',
]
[tool.pytest.ini_options]
addopts = "-ra --showlocals -vv"
testpaths = ["tests"]
xfail_strict = true
junit_family = "xunit2"
log_cli = 1
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(name)s - %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_format = "%(asctime)s [%(levelname)8s] %(name)s - %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
[tool.mypy]
python_version = "3.8"
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
show_error_codes = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = false
warn_no_return = true
warn_return_any = true
implicit_reexport = false
strict_equality = true
warn_unused_configs = true
pretty = true
[tool.ruff]
fix = true
line-length = 88
target-version = "py38"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"Q", # flake8-quotes
"UP",# pyupgrade
]
ignore = [
"E501", # line too long
]
[tool.ruff.lint.pydocstyle]
convention = "google"