Skip to content

Commit dcf235e

Browse files
committed
style: apply ruff format
Signed-off-by: alliasgher <alliasgher123@gmail.com>
1 parent b8befc5 commit dcf235e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask

instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ def response_hook(span: Span, status: str, response_headers: List):
316316
flask_version = version("flask")
317317

318318
# Global constant for Flask 3.1+ streaming context cleanup.
319-
_IS_FLASK_31_PLUS = package_version.parse(flask_version) >= package_version.parse(
320-
"3.1.0"
321-
)
319+
_IS_FLASK_31_PLUS = package_version.parse(
320+
flask_version
321+
) >= package_version.parse("3.1.0")
322322

323323
if package_version.parse(flask_version) >= package_version.parse("2.2.0"):
324324

0 commit comments

Comments
 (0)