Skip to content

Commit 7bbc3f6

Browse files
brettimusBrett Beutell
authored and
Brett Beutell
committed
Fix flake8 linting error
1 parent 7551e26 commit 7bbc3f6

File tree

1 file changed

+1
-1
lines changed
  • exporter/opentelemetry-exporter-prometheus/src/opentelemetry/exporter/prometheus

1 file changed

+1
-1
lines changed

exporter/opentelemetry-exporter-prometheus/src/opentelemetry/exporter/prometheus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def _translate_to_prometheus(
246246
):
247247
is_non_monotonic_sum = (
248248
isinstance(metric.data, Sum)
249-
and metric.data.is_monotonic == False
249+
and metric.data.is_monotonic is False
250250
)
251251
is_cumulative = (
252252
isinstance(metric.data, Sum)

0 commit comments

Comments
 (0)