Add pyproject-fmt to pre-commit#1370
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThe change adds pyproject-fmt to pre-commit, configures its project settings, reformats Changespyproject-fmt integration
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pyproject.toml`:
- Line 98: Rename the pytest configuration table from [tool.pytest] to
[tool.pytest.ini_options] in pyproject.toml so the existing settings are
recognized across the supported pytest 8.x and 9.x versions.
- Around line 78-96: Update the boolean options in the [tool.mypy] configuration
to use TOML boolean literals true or false instead of quoted "True"/"False"
strings. Apply this to the visible mypy settings such as ignore_missing_imports,
disallow_subclassing_any, and related flags, preserving each option’s current
enabled or disabled value.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 0ae54462-2792-4252-9ef3-b42ee7b5a326
📒 Files selected for processing (3)
.pre-commit-config.yamlnewsfragments/+0d5d4cb5.misc.rstpyproject.toml
Summary by CodeRabbit
pyproject.tomlformatting to the pre-commit checks usingpyproject-fmt(pinned version).pyproject.toml.