Description
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-identity
Pylint version: 3.3.6
Pylint Build: Link to build (2025-07-13)
Pylint Errors:
2025-07-13T22:33:33.1564638Z ************* Module azure.identity.aio._credentials.default
2025-07-13T22:33:33.1567209Z azure/identity/aio/_credentials/default.py:222: [C4766(do-not-log-exceptions-if-not-debug), DefaultAzureCredential.init] 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-13T22:33:33.1568949Z ************* Module azure.identity._credentials.default
2025-07-13T22:33:33.1570484Z azure/identity/_credentials/default.py:236: [C4766(do-not-log-exceptions-if-not-debug), DefaultAzureCredential.init] 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-13T22:33:33.1571795Z ************* Module azure.identity._internal.interactive
2025-07-13T22:33:33.1572938Z azure/identity/_internal/interactive.py:206: [C4762(do-not-log-raised-errors), InteractiveCredential._get_token_base] Do not log an exception that you re-raise 'as-is'
2025-07-13T22:33:33.1574333Z azure/identity/_internal/interactive.py:228: [C4762(do-not-log-raised-errors), InteractiveCredential._get_token_base] Do not log an exception that you re-raise 'as-is'
2025-07-13T22:33:33.1574830Z
2025-07-13T22:33:33.1575813Z -----------------------------------
2025-07-13T22:33:33.1576994Z Your code has been rated at 9.99/10
2025-07-13T22:33:33.1577384Z
2025-07-13T22:33:35.1454296Z
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.
../azure-identity>pip install "tox<5"
../azure-identity>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .
See the Pylint Guide for more information.