Skip to content

[cosmos] fix pylint#40541

Merged
l0lawrence merged 2 commits intoAzure:mainfrom
l0lawrence:fixcosmosfornext
Apr 16, 2025
Merged

[cosmos] fix pylint#40541
l0lawrence merged 2 commits intoAzure:mainfrom
l0lawrence:fixcosmosfornext

Conversation

@l0lawrence
Copy link
Copy Markdown
Member

@l0lawrence l0lawrence commented Apr 16, 2025

fixing pylint warning to unblock azure-core build

@l0lawrence l0lawrence marked this pull request as ready for review April 16, 2025 15:21
Copilot AI review requested due to automatic review settings April 16, 2025 15:21
@l0lawrence l0lawrence requested review from a team and annatisch as code owners April 16, 2025 15:21
Copy link
Copy Markdown
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 warnings in the Cosmos SDK by removing the unused direct import of CancelledError and updating exception handling to use asyncio.CancelledError.

  • Removed the direct import of CancelledError.
  • Updated exception handling to reference asyncio.CancelledError.

@azure-sdk
Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

@l0lawrence
Copy link
Copy Markdown
Member Author

/check-enforcer override

@l0lawrence l0lawrence merged commit f9e29db into Azure:main Apr 16, 2025
16 of 18 checks passed
cRui861 pushed a commit that referenced this pull request May 14, 2025
* fix pylint

* missed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants