Repository navigation
build(deps): refresh the lock, lift the caps on mypy, ruff, pytest-cov, pandas, openai, huggingface-hub - #402
Conversation
…v, pandas, openai, huggingface-hub Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Dependency constraints and pins pyproject.toml, requirements.txt, CHANGELOG.md |
Development and optional dependency bounds and pinned versions are updated. The changelog records the lockfile refresh and related dependency updates. |
Pre-commit revisions .pre-commit-config.yaml |
The Ruff, Bandit, and pre-commit-hooks revisions are updated. |
Behavior-neutral edits
| Layer / File(s) | Summary |
|---|---|
Expression and example edits src/pyeuropepmc/mcp/_rhetoric.py, tests/parser/functional/README.md |
The sort-key expression loses redundant parentheses. The README example changes its string delimiters; both edits preserve behavior. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Suggested labels: dependencies, documentation
Merge Risk: 
Minimal · up to 5c9b1
-
No actionable merge-blocking defect is established. The dependency refresh and small cleanups appear mergeable subject to normal checks.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files. (5 skipped: 5 unsupported.)
-
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #402 +/- ##
==========================================
- Coverage 82.55% 82.55% -0.01%
==========================================
Files 217 217
Lines 33133 33133
Branches 5984 5984
==========================================
- Hits 27354 27352 -2
- Misses 4492 4495 +3
+ Partials 1287 1286 -1
|
What
poetry updateinside the current constraints: 91 versions move, one transitive package is new (ipython-pygments-lexers). Includes the security patch releasescryptography50.0.2 andpyjwt2.15.1. The lock is now written by Poetry 2.5.1 (it was 2.3.2), which is why the diff is large.mypy<3,pytest-cov<8,ruff<0.18,types-PyYAML(was pinned to a 2024 stub), and for the optional extraspandas<4,openai<4,huggingface-hub<3. The ruff pre-commit rev follows the lock (v0.17.3), plusbandit1.9.4 andpre-commit-hooksv6.0.0.ruff format0.17 reflows two lines (mcp/_rhetoric.py, a README example).Verified
src/: no issues.Not verified
ruff,ruff-formatandbanditpre-commit hooks did not run locally (no Python 3.12 here to build their environments); I ran the same tools directly.Left out
GitHub Actions bumps (Dependabot #369, #371, #394) touch workflow files and stay separate. Dependabot's pip PRs #354-#358 are superseded by this lock.
🤖 Generated with Claude Code
Summary by CodeRabbit