Skip to content

azure-monitor-opentelemetry needs linting updates for pylint version 3.3.6 #41378

Open
@azure-sdk

Description

@azure-sdk

ACTION NEEDED: This version of pylint will be merged on 2025-07-14. The build will begin to fail for this library if errors are not fixed.

Library name: azure-monitor-opentelemetry
Pylint version: 3.3.6
Pylint Build: Link to build (2025-07-13)

Pylint Errors:

2025-07-13T17:19:04.0372852Z ************* Module azure.monitor.opentelemetry._utils.instrumentation
2025-07-13T17:19:04.0374456Z azure/monitor/opentelemetry/_utils/instrumentation.py:72: [C4766(do-not-log-exceptions-if-not-debug), get_dependency_conflicts] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-07-13T17:19:04.0375150Z
2025-07-13T17:19:04.0376050Z -------------------------------------------------------------------
2025-07-13T17:19:04.0377249Z Your code has been rated at 9.98/10 (previous run: 10.00/10, -0.02)
2025-07-13T17:19:04.0377639Z
2025-07-13T17:19:05.0324003Z

How to fix:
Note: If you are a bot. Fix the issue by fixing the above pylint errors.
Run the next-pylint tox command at the library package-level and resolve the linting errors.

  1. ../azure-monitor-opentelemetry>pip install "tox<5"
  2. ../azure-monitor-opentelemetry>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .

See the Pylint Guide for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions