Update Dependencies#2528
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe inline markdown filter now uses ChangesSanitizer migration and dependency updates
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
requirements.txt (1)
49-49: 🎯 Functional Correctness | 🔵 Trivial | 💤 Low valueKeep the Black versions in sync.
requirements.txtpinsblack==26.5.1, but.pre-commit-config.yamlstill runs26.1.0, so CI will keep using a different formatter version. Update the hook revision too, or document that the pins are intentionally separate.🤖 Prompt for 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. In `@requirements.txt` at line 49, Synchronize the Black version used by the pre-commit configuration with the black==26.5.1 pin in requirements.txt by updating the relevant hook revision in .pre-commit-config.yaml, unless the versions are intentionally separate and that decision is explicitly documented.
🤖 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.
Nitpick comments:
In `@requirements.txt`:
- Line 49: Synchronize the Black version used by the pre-commit configuration
with the black==26.5.1 pin in requirements.txt by updating the relevant hook
revision in .pre-commit-config.yaml, unless the versions are intentionally
separate and that decision is explicitly documented.
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
requirements.txt (1)
49-49: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick winKeep Black pinned to the same version in both toolchains.
requirements.txtpinsblack==26.5.1, but.pre-commit-config.yamlstill uses26.1.0, so local formatting and CI can drift. Update the hook rev or document why the split is intentional.🤖 Prompt for 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. In `@requirements.txt` at line 49, Align the Black version used by the pre-commit hook with the requirements.txt pin of 26.5.1 by updating the hook revision in .pre-commit-config.yaml, unless there is a documented intentional reason to retain the split.
🤖 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.
Outside diff comments:
In `@requirements.txt`:
- Line 49: Align the Black version used by the pre-commit hook with the
requirements.txt pin of 26.5.1 by updating the hook revision in
.pre-commit-config.yaml, unless there is a documented intentional reason to
retain the split.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 63574389-44f6-44f1-856c-a3604986bbbf
⛔ Files ignored due to path filters (2)
package-lock.jsonis excluded by!**/package-lock.jsonyarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (2)
package.jsonrequirements.txt
Update dependencies for QA testing
Summary by CodeRabbit
nh3for HTML sanitization.package.json(no version changes).bleachtonh3, affecting how disallowed markup is cleaned.