Skip to content

PYTHON-5858 - Upgrade ruff from v0.1.3 to v0.15.15#2874

Merged
NoahStapp merged 3 commits into
mongodb:masterfrom
NoahStapp:PYTHON-5858
Jun 16, 2026
Merged

PYTHON-5858 - Upgrade ruff from v0.1.3 to v0.15.15#2874
NoahStapp merged 3 commits into
mongodb:masterfrom
NoahStapp:PYTHON-5858

Conversation

@NoahStapp

@NoahStapp NoahStapp commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

PYTHON-5858

Changes in this PR

Update ruff to v0.15.15 and change linting accordingly. This included bumping our target version for linting from Python 3.7 to 3.9.

Test Plan

Existing test suite.

Checklist

Checklist for Author

  • Did you update the changelog (if necessary)?
  • Is there test coverage?
  • Is any followup work tracked in a JIRA ticket? If so, add link(s). PYTHON-5881

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

Copilot AI review requested due to automatic review settings June 15, 2026 16:16
@NoahStapp NoahStapp requested a review from a team as a code owner June 15, 2026 16:16
@NoahStapp NoahStapp requested a review from blink1073 June 15, 2026 16:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@codecov-commenter

codecov-commenter commented Jun 15, 2026

Copy link
Copy Markdown

@blink1073

Copy link
Copy Markdown
Member
  1. There are some merge conflicts
  2. Did ruff make all of the changes, or were any by hand?

@NoahStapp

Copy link
Copy Markdown
Contributor Author
  1. There are some merge conflicts
  2. Did ruff make all of the changes, or were any by hand?
  1. Resolved, sorry about that.
  2. I had to make a lot of manual changes (LLM-assisted).

@blink1073

Copy link
Copy Markdown
Member

Okay, the remaining failures look like PYTHON-5882. I'll review in batches. 😅

Comment thread test/asynchronous/test_auth_oidc.py

@blink1073 blink1073 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@NoahStapp NoahStapp merged commit d88aaa6 into mongodb:master Jun 16, 2026
79 of 90 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants