Skip to content

Commit 1ad49a1

Browse files
authored
Merge branch 'main' into feat/openai-structured-outputs-3449
2 parents b2f5ec6 + ceb0852 commit 1ad49a1

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4848
- `opentelemetry-instrumentation-openai-v2`: Add instrumentation for `chat.completions.parse()` structured outputs
4949
([#4416](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4416))
5050

51+
- Enabled the flake8-tidy-import plugins rules for the ruff linter. These rules throw warnings for relative imports in the modules.
52+
([#4395](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4395))
5153
- `opentelemetry-instrumentation-asgi`: Respect `suppress_http_instrumentation` context in ASGI middleware to skip server span creation when HTTP instrumentation is suppressed
5254
([#4375](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4375))
5355
- `opentelemetry-instrumentation-confluent-kafka`: Loosen confluent-kafka upper bound to <3.0.0

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,15 @@ select = [
171171
"PLE", # pylint error
172172
"Q", # flake8-quotes
173173
"A", # flake8-builtins
174+
"TID", # flake8-tidy-imports
174175
]
175176
ignore = [
176177
"E501", # line-too-long
177178
]
178179

179180
[tool.ruff.lint.per-file-ignores]
180181
"docs/**/*.*" = ["A001"]
182+
"instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/*" = ["TID252"]
181183

182184
[tool.ruff.lint.isort]
183185
detect-same-package = false # to not consider instrumentation packages as first-party

0 commit comments

Comments
 (0)