Repository navigation
Find the opening bracket from the line end in the builtin line split - #6699
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Merging this PR will improve performance by 97.02%2 warnings
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Breaking Change AnalysisResult: No breaking changes detected Reasoning: The PR only changes the private helper _is_one_sequence_between in the internal module _builtin_line_split.py so that it finds the opening bracket leaf by searching from the end of the leaves list instead of from the start, and adds a docstring. The lookup uses identity comparison and each leaf object appears once in a line, so the index found is the same and only performance on long lines improves. No public API, CLI option, template, default value, Python version support or error handling changes. The behaviour diff gate lists only both-fail cells, with no accepted or violation cells, so the default generated output is unchanged. This analysis was produced by the release draft workflow |
|
🎉 Released in 0.93.0 This PR is now available in the latest release. See the release notes for details. |
Summary by CodeRabbit