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: corehttp
Pylint version: 3.3.6
Pylint Build: Link to build (2025-06-22)
Pylint Errors:
2025-06-22T07:06:12.3411414Z ************* Module corehttp.transport.requests._requests_basic
2025-06-22T07:06:12.3412976Z corehttp/transport/requests/_requests_basic.py:183: [C4766(do-not-log-exceptions-if-not-debug), RequestsTransport.send] 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-22T07:06:12.3414289Z corehttp/transport/requests/_requests_basic.py:186: [C4766(do-not-log-exceptions-if-not-debug), RequestsTransport.send] 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-22T07:06:12.3415230Z ************* Module corehttp.rest._requests_basic
2025-06-22T07:06:12.3416086Z corehttp/rest/_requests_basic.py:159: [C4766(do-not-log-exceptions-if-not-debug), StreamDownloadGenerator.next] 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-22T07:06:12.3417498Z corehttp/rest/_requests_basic.py:162: [C4766(do-not-log-exceptions-if-not-debug), StreamDownloadGenerator.next] 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-22T07:06:12.3418545Z corehttp/rest/_requests_basic.py:166: [C4766(do-not-log-exceptions-if-not-debug), StreamDownloadGenerator.next] 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-22T07:06:12.3419476Z ************* Module corehttp.rest._aiohttp
2025-06-22T07:06:12.3420236Z corehttp/rest/_aiohttp.py:303: [C4766(do-not-log-exceptions-if-not-debug), AioHttpStreamDownloadGenerator.anext] 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-22T07:06:12.3421301Z corehttp/rest/_aiohttp.py:313: [C4766(do-not-log-exceptions-if-not-debug), AioHttpStreamDownloadGenerator.anext] 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-22T07:06:12.3422046Z ************* Module corehttp.rest._httpx
2025-06-22T07:06:12.3422886Z corehttp/rest/_httpx.py:99: [C4766(do-not-log-exceptions-if-not-debug), HttpXStreamDownloadGenerator.next] 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-22T07:06:12.3423669Z corehttp/rest/_httpx.py:102: [C4766(do-not-log-exceptions-if-not-debug), HttpXStreamDownloadGenerator.next] 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-22T07:06:12.3424387Z corehttp/rest/_httpx.py:112: [C4766(do-not-log-exceptions-if-not-debug), HttpXStreamDownloadGenerator.next] 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-22T07:06:12.3425095Z corehttp/rest/_httpx.py:189: [C4766(do-not-log-exceptions-if-not-debug), AsyncHttpXStreamDownloadGenerator.anext] 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-22T07:06:12.3425792Z corehttp/rest/_httpx.py:192: [C4766(do-not-log-exceptions-if-not-debug), AsyncHttpXStreamDownloadGenerator.anext] 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-22T07:06:12.3426496Z corehttp/rest/_httpx.py:202: [C4766(do-not-log-exceptions-if-not-debug), AsyncHttpXStreamDownloadGenerator.anext] 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-22T07:06:12.3427026Z ************* Module corehttp.runtime.policies._distributed_tracing
2025-06-22T07:06:12.3427526Z corehttp/runtime/policies/_distributed_tracing.py:99: [C4766(do-not-log-exceptions-if-not-debug), DistributedHttpTracingPolicy.on_request] 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-22T07:06:12.3427988Z
2025-06-22T07:06:12.3428330Z -----------------------------------
2025-06-22T07:06:12.3428652Z Your code has been rated at 9.95/10
2025-06-22T07:06:12.3428798Z
2025-06-22T07:06:14.3867305Z
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.
../corehttp>pip install "tox<5"
../corehttp>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .
See the Pylint Guide for more information.