Skip to content

Conversation

@pvaneck
Copy link
Member

@pvaneck pvaneck commented Jan 7, 2026

Closes: #43741
Closes: #39296
Closes: #39298

Signed-off-by: Paul Van Eck <[email protected]>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses pylint 3.3.6 compatibility issues across three core libraries (azure-core, azure-core-experimental, and corehttp) to meet the January 12, 2026 deadline. The changes primarily address new pylint warnings related to exception logging and import rules.

Key changes:

  • Removes exception details from warning log messages in error handling code across multiple transport implementations
  • Adds pylint disable comments for new rules (do-not-log-exceptions-if-not-debug, networking-import-outside-azure-core-transport, abstract-method)
  • Reformats class definition to accommodate pylint disable comment

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
sdk/core/corehttp/corehttp/transport/requests/_requests_basic.py Removes exception details from warning logs for ChunkedEncodingError handling
sdk/core/corehttp/corehttp/runtime/policies/_distributed_tracing.py Adds pylint disable comment to preserve exception details in warning log
sdk/core/corehttp/corehttp/rest/_requests_basic.py Removes exception details from warning logs in stream download error handling
sdk/core/corehttp/corehttp/rest/_httpx.py Removes exception details from warning logs and unused exception variables
sdk/core/corehttp/corehttp/rest/_aiohttp.py Removes exception details from warning logs and unused exception variables
sdk/core/azure-core/azure/core/rest/_aiohttp.py Adds pylint disable for networking import in transport code
sdk/core/azure-core/azure/core/pipeline/transport/_base_async.py Reformats class definition and adds abstract-method disable
sdk/core/azure-core-experimental/azure/core/experimental/transport/_httpx_async.py Adds pylint disable for networking import in transport code
sdk/core/azure-core-experimental/azure/core/experimental/transport/_httpx.py Adds pylint disable for networking import in transport code

@pvaneck pvaneck marked this pull request as ready for review January 9, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant