Skip to content

azure-keyvault-certificates needs linting updates for pylint version 3.3.6 #40738

Closed
@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-keyvault-certificates
Pylint version: 3.3.6
Pylint Build: Link to build (2025-06-22)

Pylint Errors:

2025-06-22T22:52:11.1458735Z ************* Module azure.keyvault.certificates._polling
2025-06-22T22:52:11.1461141Z azure/keyvault/certificates/_polling.py:48: [C4766(do-not-log-exceptions-if-not-debug), CreateCertificatePoller.run] 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-06-22T22:52:11.1462665Z ************* Module azure.keyvault.certificates.aio._polling_async
2025-06-22T22:52:11.1464229Z azure/keyvault/certificates/aio/_polling_async.py:50: [C4766(do-not-log-exceptions-if-not-debug), CreateCertificatePollerAsync.run] 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-06-22T22:52:11.1465994Z ************* Module azure.keyvault.certificates._shared._polling
2025-06-22T22:52:11.1467570Z azure/keyvault/certificates/_shared/_polling.py:133: [C4766(do-not-log-exceptions-if-not-debug), DeleteRecoverPollingMethod.run] 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-06-22T22:52:11.1469082Z ************* Module azure.keyvault.certificates._shared._polling_async
2025-06-22T22:52:11.1470568Z azure/keyvault/certificates/_shared/_polling_async.py:77: [C4766(do-not-log-exceptions-if-not-debug), AsyncDeleteRecoverPollingMethod.run] 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-06-22T22:52:11.1471372Z
2025-06-22T22:52:11.1472581Z -------------------------------------------------------------------
2025-06-22T22:52:11.1473787Z Your code has been rated at 9.97/10 (previous run: 10.00/10, -0.03)
2025-06-22T22:52:11.1474310Z
2025-06-22T22:52:12.3442696Z

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-keyvault-certificates>pip install "tox<5"
  2. ../azure-keyvault-certificates>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .

See the Pylint Guide for more information.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions