Skip to content

PYTHON-6245 Enable ruff INT rules - #3205

Merged
NoahStapp merged 5 commits into
mongodb:mainfrom
NoahStapp:PYTHON-6245
Nov 12, 2026
Merged

NoahStapp merged 5 commits into
mongodb:mainfrom
NoahStapp:PYTHON-6245

Conversation

@NoahStapp

Copy link
Copy Markdown
Contributor

PYTHON-6245

Changes in this PR

Enable ruff's INT linting rules. No code changes are required for them to pass.

Test Plan

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).

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?

@NoahStapp
NoahStapp requested a review from a team as a code owner November 11, 2026 17:29
@NoahStapp
NoahStapp requested review from aclark4life and a balanced review from Copilot November 11, 2026 17:29

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.

🟢 Approval recommended

No active review issues are recorded for the configuration change enabling Ruff’s gettext lint rules.

No open issues 🎉

What changed in this PR

Enables Ruff’s INT (flake8-gettext) lint rules for PyMongo by removing their exclusion. No application code changes are needed.

Changes:

  • Removes INT from Ruff’s ignore list, enabling checks for gettext usage.
File Description
pyproject.toml Enables Ruff’s INT rules by removing the ignore entry.

Review effort: Balanced

aclark4life
aclark4life previously approved these changes Nov 11, 2026
@NoahStapp
NoahStapp merged commit 8dba39c into mongodb:main Nov 12, 2026
83 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.

3 participants