Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1364 +/- ##
=======================================
Coverage 91.76% 91.77%
=======================================
Files 96 96
Lines 5475 5480 +5
Branches 706 708 +2
=======================================
+ Hits 5024 5029 +5
Misses 327 327
Partials 124 124
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Pyright Type CompletenessView the full Project (full
Other symbols referenced but not exported by
Symbols without documentation:
Patch (exported symbols added or changed by this PR): 0.0% fully typed (0 / 2)
Patch symbol details
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 08d0120. Configure here.
| if isinstance(key, slice): | ||
| if key == slice(None, None, None): | ||
| self.iloc[:] = value | ||
| return |
There was a problem hiding this comment.
Full-slice assignment fails on sparse
Medium Severity
tri[:] = value always delegates to iloc, which rejects the sparse backend. Callers then get an error that tells them to use .at or .iat, even though this is column-style assignment. Sparse triangles (for example prism) cannot use the new full-slice API, and the test skips that backend rather than covering it.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 08d0120. Configure here.
|
k, will do |


Summary of Changes
Just a test PR to preview discussion items from #1361. Removes patch limitation of Ruff workflow and checks the entire repository (excluding 2 Friedland notebooks).
Related GitHub Issue(s)
AI/LLM Usage
Additional Context for Reviewers
Submitter's Checklist
[FIX],[FEAT],[DOCS],[TST],[CHORE], or[BRK]).Reviewer's Checklist
Note
Medium Risk
Full-repo Ruff is CI/tooling-only; the
__setitem__slice behavior change is user-facing and could affect code that relied on oldtri[:]semantics.Overview
Switches Ruff from diff-scoped checks to linting and format-checking the whole repo in GitHub Actions (
.github/workflows/ruff.yml) and the pre-push hook (.pre-commit-config.yaml), dropping the changed-files/git-base logic and the empty inlineper-file-ignoresoverride onruff check.Fixes Triangle column assignment when the key is a full slice:
tri[:] = valuenow broadcasts viailoc(pandas-style) instead of treating:as a column name; partial slice keys raiseTypeError, with new tests intest_slicing.py.The rest is Ruff-driven style (quotes, wrapping, trailing commas, docstrings) across package code, docs config/notebooks, and small test fixes (e.g.
test_outstandingexpected array shapes).Reviewed by Cursor Bugbot for commit 08d0120. Bugbot is set up for automated code reviews on this repo. Configure here.