You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From Python 3.11 onwards, the Python standard library has TOML support via tomllib. The minimum supported python here is 3.12, so we can safely drop uses of the third-party library tomli.
Reviewing files that changed from the base of the PR and between 8601d2e and 946f976.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Chores
Streamlined the spelling-check setup by removing an unnecessary installation requirement. This maintenance update does not change any user-facing features or behavior.
The pre-commit configuration removes tomli from the codespell hook’s additional dependencies.
This removes an unneeded tomli dependency from the codespell pre-commit hook, since Python 3.12 and later ship TOML support in the standard library. There is no runtime impact and the change is easy to revert, so it is ready to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "drop 'tomli' dependency" matches the single change in the changeset: the codespell hook in .pre-commit-config.yaml no longer lists tomli as an additional dependency. It is short and specifi…
Description check
The description explains the reason for the change: Python 3.11 and later include TOML support through tomllib, and the minimum supported Python here is 3.12, so tomli can be dropped. It relates direc…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "drop 'tomli' dependency" matches the single change in the changeset: the codespell hook in .pre-commit-config.yaml no longer lists tomli as an additional dependency. It is short and specific, and it names the removed package. The PR objectives confirm the intent to remove tomli because the minimum supported Python is 3.12 and tomllib is in the standard library.
Full details: Description check
Explanation
The description explains the reason for the change: Python 3.11 and later include TOML support through tomllib, and the minimum supported Python here is 3.12, so tomli can be dropped. It relates directly to the removal of the tomli dependency in the changeset. It also links a tracking issue.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 9606988 and 8601d2e.
Files selected for processing: 1
.pre-commit-config.yaml
Files with no reviewable changes: 1
.pre-commit-config.yaml
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contributes to rapidsai/build-planning#352
From Python 3.11 onwards, the Python standard library has TOML support via
tomllib. The minimum supported python here is 3.12, so we can safely drop uses of the third-party librarytomli.