From b5734f5277723cde8e83e06a7fb8d87e69a4d5a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Thu, 5 Sep 2024 10:19:50 +0200 Subject: [PATCH] Lint the code --- docs/conf.py | 2 +- docs/examples/metrics/reader/preferred_exemplarfilter.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index ad2c6aa6b3..2224eedde5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -149,7 +149,7 @@ ( "py:class", "opentelemetry.sdk.metrics._internal.aggregation._Aggregation", - ) + ), ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/examples/metrics/reader/preferred_exemplarfilter.py b/docs/examples/metrics/reader/preferred_exemplarfilter.py index d5d93bc2d9..fd1e1cccb6 100644 --- a/docs/examples/metrics/reader/preferred_exemplarfilter.py +++ b/docs/examples/metrics/reader/preferred_exemplarfilter.py @@ -16,9 +16,7 @@ from opentelemetry import trace from opentelemetry.metrics import get_meter_provider, set_meter_provider from opentelemetry.sdk.metrics import MeterProvider -from opentelemetry.sdk.metrics._internal.exemplar import ( - AlwaysOnExemplarFilter, -) +from opentelemetry.sdk.metrics._internal.exemplar import AlwaysOnExemplarFilter from opentelemetry.sdk.metrics.export import ( ConsoleMetricExporter, PeriodicExportingMetricReader, @@ -30,7 +28,7 @@ # and TraceBasedExemplarFilter. # The default value is `TraceBasedExemplarFilter`. # -# You can also use the environment variable `OTEL_METRICS_EXEMPLAR_FILTER` +# You can also use the environment variable `OTEL_METRICS_EXEMPLAR_FILTER` # to change the default value. # # You can also define your own filter by implementing the abstract class