Skip to content

Gate counts comment lines net of the ones a PR removes - #8

Merged
yashdhote merged 1 commit into
mainfrom
feature/gate-net-comments
Dec 4, 2026
Merged

yashdhote merged 1 commit into
mainfrom
feature/gate-net-comments

Conversation

@mayurrawte

Copy link
Copy Markdown
Member

A PR that shortens or deletes comments failed the comment rule (shipthis-fastapi#5189), so the rule now counts added minus removed comment lines. Edits the org gate script.
Verified on that PR's branch (old gate fails, new passes) and on a test repo: 10 new comments still fail, 10 rewritten ones pass.

@yashdhote
yashdhote merged commit 17933fa into main Dec 4, 2026
4 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