Skip to content

Commit

Permalink
This time we actually fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanthccv committed Mar 28, 2024
1 parent 4b46293 commit 1a92c8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@


import warnings

from abc import ABC, abstractmethod
from logging import getLogger
from os import environ
Expand Down Expand Up @@ -387,7 +386,7 @@ def create_histogram(
description: A description for this instrument and what it measures.
"""

def create_gauge( # type: ignore
def create_gauge( # type: ignore # pylint: disable=no-self-use
self,
name: str,
unit: str = "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,20 @@
# Either bump the major version of the API, or make the necessary changes to the API to remain semver compatible.

from typing import Optional

from opentelemetry.metrics import (
Meter,
MeterProvider,
Synchronous,
Asynchronous,
Counter,
_Gauge,
Histogram,
Instrument,
Meter,
MeterProvider,
ObservableCounter,
ObservableGauge,
ObservableUpDownCounter,
Synchronous,
UpDownCounter,
_Gauge,
)


Expand Down

0 comments on commit 1a92c8d

Please sign in to comment.