Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore a couple more lines for codecov #2169

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

jonathangreen
Copy link
Member

@jonathangreen jonathangreen commented Nov 14, 2024

Description

It doesn't matter a great deal, but adding a @overload decorator is counted as a partial by codecov, since it never get actually called. Since they can never be called, it seems better to just exclude them.

Motivation and Context

I noticed in #2168 when I added a couple @overload for a function, these were counted as partials by coverage.

How Has This Been Tested?

Letting codecov run in CI.

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@jonathangreen jonathangreen requested a review from a team November 14, 2024 19:33
Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

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

🪛

@jonathangreen jonathangreen merged commit 2fc744e into main Nov 19, 2024
19 checks passed
@jonathangreen jonathangreen deleted the chore/ignore-lines-for-codecov branch November 19, 2024 14:36
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