| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR adjusts the typing contract of RemoteProgress._parse_progress_line() to support subclass overrides that return a value (without violating Liskov substitutability), while keeping the base implementation conceptually “void” and ensuring internal callers ignore the return value.
Changes:
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| git/util.py | Broadens _parse_progress_line() return typing and ensures call sites (message handler) don’t propagate that return value. |
| test/deprecation/test_remote_progress.py | Adds a regression test proving overrides may return non-None under the new base typing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks, LGTM!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Closes #1834
Checks
AI agent disclosure
OpenAI Codex prepared this scoped code/test change and PR text. I reviewed the diff and ran the checks above.