Repository navigation
Conversation
Signed-off-by: Don Yin <Don_Yin@outlook.com>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
PEP8 input filtering runner.sh |
Removed the sed filter that converted percent-prefixed lines to pass # %. The remaining comment-line filter and Flake8 invocation are unchanged. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Low
Merge Risk: 
Minimal · up to cd0da
-
The change preserves valid Python continuation lines without exposing notebook magics to Flake8. It is ready to merge after normal checks.
Pre-merge checks: 
5
-
Full details: Description check
-
Explanation
The description explains the change, its cause, and the linked issue. It includes a validation screenshot. It does not use the template headings or checklist, but the required change context is mostly complete.
Full details: Linked Issues check
-
Explanation
The direct issue is
#1805. It requiresrunner.shto avoid introducing syntax errors while preparing Jupytext output for Flake8. Inrunner.sh, the PR removes the%-linesedrewrite from the Jupytext-to-Flake8 pipeline. The remainingnoqafilter and Flake8 invocation stay unchanged. This directly removes the reported transformation that corrupted valid multiline Python. Issue#1805does not specify a required automated test.
Full details: Out of Scope Changes check
-
Explanation
The whole-PR diff contains one change in
runner.sh. The change removes only the%-line rewrite that is identified as the cause of issue#1805. No unrelated source, test, configuration, or documentation changes are present.
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
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 @coderabbitai help to get the list of available commands.
Removed the sed that rewrote every line starting with
%intopass # %.... It also caught continuation lines like% (losses[-1],)and caused the E999 in #1805. Jupytext already comments out magics when converting to a script, so it isn't needed.Fixes #1805.
Summary by CodeRabbit
noqadirectives remains unchanged.