Skip to content

fix: address Copilot review comments#17

Merged
chiruu12 merged 1 commit into
mainfrom
feat/launch-prep
May 9, 2026
Merged

fix: address Copilot review comments#17
chiruu12 merged 1 commit into
mainfrom
feat/launch-prep

Conversation

@chiruu12
Copy link
Copy Markdown
Owner

@chiruu12 chiruu12 commented May 9, 2026

Summary

  • Rename non_fork_repostop_repos in lines extractor (forks already filtered upstream)
  • Move Group import to top-level in terminal renderer for consistency

Addresses Copilot review comments on PR #16.

Test plan

  • 361 tests pass
  • Lint clean

Copilot AI review requested due to automatic review settings May 9, 2026 19:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR applies two small refactors in the terminal renderer and the lines-changed extractor to address prior review feedback, improving naming clarity and import consistency without changing behavior.

Changes:

  • Rename non_fork_repos to top_repos in the lines-changed extractor (repos are already filtered upstream; this is a naming/clarity change).
  • Move the Group import to the module imports in the terminal renderer and remove the function-local import.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/devcard/renderers/terminal.py Imports Group at top-level and removes the local import in _render_lines for consistency.
src/devcard/extractors/lines.py Renames non_fork_repos to top_repos throughout extract_lines_changed for clearer intent.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chiruu12 chiruu12 merged commit a5417ab into main May 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants