Skip to content

Commit 8266208

Browse files
authored
Fix pylint version 3.0.3 for exporter and distro (#34339)
1 parent 8b3a818 commit 8266208

File tree

2 files changed

+3
-3
lines changed
  • sdk/monitor
    • azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/export
    • azure-monitor-opentelemetry/azure/monitor/opentelemetry

2 files changed

+3
-3
lines changed

sdk/monitor/azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/export/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,9 @@ def _transmit(self, envelopes: List[TelemetryItem]) -> ExportResult:
322322
from azure.monitor.opentelemetry.exporter.statsbeat._statsbeat import shutdown_statsbeat_metrics
323323
shutdown_statsbeat_metrics()
324324
# pylint: disable=lost-exception
325-
return ExportResult.FAILED_NOT_RETRYABLE
325+
return ExportResult.FAILED_NOT_RETRYABLE # pylint: disable=W0012,W0134
326326
# pylint: disable=lost-exception
327-
return result
327+
return result # pylint: disable=W0012,W0134
328328

329329
# No spans to export
330330
self._consecutive_redirects = 0

sdk/monitor/azure-monitor-opentelemetry/azure/monitor/opentelemetry/_configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
_logger = getLogger(__name__)
5353

5454

55-
def configure_azure_monitor(**kwargs) -> None:
55+
def configure_azure_monitor(**kwargs) -> None: # pylint: disable=C4758
5656
"""This function works as a configuration layer that allows the
5757
end user to configure OpenTelemetry and Azure monitor components. The
5858
configuration can be done via arguments passed to this function.

0 commit comments

Comments
 (0)