-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
142 lines (127 loc) · 3.2 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
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
141
142
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pytest_otel"
dynamic = ["version"]
description = "OpenTelemetry plugin for Pytest"
readme = {file = "README.md", content-type = "text/markdown"}
authors = [
{name = "Ivan Fernandez Calvo (kuisathaverat)"}
]
dependencies = [
"opentelemetry-api==1.29.0",
"opentelemetry-exporter-otlp==1.29.0",
"opentelemetry-sdk==1.29.0",
"pytest==8.3.4",
]
requires-python = ">= 3.8"
license = {file = "LICENSE"}
keywords = ["pytest", "otel", "opentelemetry", "debug"]
classifiers = [
"Environment :: Plugins",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software 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",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
[project_urls]
Homepage = "https://github.com/kuisathaverat/pytest_otel"
Documentation = "https://github.com/kuisathaverat/pytest_otel/blob/main/README.md"
Repository = "https://github.com/kuisathaverat/pytest_otel.git"
Issues = "https://github.com/kuisathaverat/pytest_otel/issues"
Changelog = "https://github.com/kuisathaverat/pytest_otel/releases"
[project.optional-dependencies]
test = [
"pytest-cov==6.0.0",
"pre-commit==4.0.1",
"pytest-docker==3.1.1",
"mypy==1.13.0",
"black==24.10.0",
"flake8==7.1.1",
"build==1.2.2",
"twine==6.0.1",
]
[tool.setuptools.dynamic]
version = {attr = "pytest_otel.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
pytest_otel = ["py.typed"]
[project.entry-points.pytest11]
pytest_otel = "pytest_otel"
[tool.pytest]
addopts = "-ra --showlocals -vv"
testpaths = "tests"
xfail_strict = true
junit_family = "xunit2"
[tool.distutils.bdist_wheel]
universal = true
[tool.flake8]
max-line-length = "120"
ignore = [
"F401", "H301", "E203", "SC200", "SC100", "W503",
]
exclude = [
".venv",
".git",
"__pycache__",
".tox",
".mypy_cache",
]
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| _build
| build
| dist
| elasticapm/utils/wrapt
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
)/
'''
[tool.coverage.run]
source = [ "src", "tests" ]
parallel = true
branch = true
dynamic_context = "test_function"
[tool.coverage.report]
fail_under = "100"
skip_covered = true
show_missing = true
[tool.coverage.html]
show_contexts = true
skip_covered = false
skip_empty = false
[tool.coverage.paths]
source = [ "src" ]
[tool.mypy]
python_version = "3.8"
allow_untyped_defs = true
allow_untyped_calls = true
disallow_any_generics = true
disallow_subclassing_any = 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