Skip to content

[cosmos] fix pylint #40541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2025
Merged

[cosmos] fix pylint #40541

merged 2 commits into from
Apr 16, 2025

Conversation

l0lawrence
Copy link
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 Copilot AI review requested due to automatic review settings April 16, 2025 15:21
@l0lawrence l0lawrence requested review from annatisch and a team as code owners April 16, 2025 15:21
Copy link
Contributor

@Copilot 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
Collaborator

API change check

API changes are not detected in this pull request.

@l0lawrence
Copy link
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.

3 participants