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

Add codecov exclude_lines configuration #1992

Closed
wants to merge 0 commits into from

Conversation

ringohoffman
Copy link
Contributor

Describe your changes

Configure exclude_lines for Codecov. There are certain lines that shouldn't affect code velocity of a PR.

See: nedbat/coveragepy#831 (comment)

Apparently this isn't configurable through codecov.yml 🙈 : codecov/codecov-python#107 (comment)

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

I opened this because I noticed this issue was affecting an existing PR: #1818 (comment)

Copy link

codecov bot commented Nov 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (54e68e0) 55.23% compared to head (48d9b0e) 64.36%.
Report is 68 commits behind head on master.

❗ Current head 48d9b0e differs from pull request most recent head d80f190. Consider uploading reports for the commit d80f190 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1992      +/-   ##
==========================================
+ Coverage   55.23%   64.36%   +9.12%     
==========================================
  Files         300      313      +13     
  Lines       22381    23108     +727     
  Branches     3359        0    -3359     
==========================================
+ Hits        12363    14873    +2510     
+ Misses       9856     8235    -1621     
+ Partials      162        0     -162     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ringohoffman ringohoffman force-pushed the add-.coveragerc branch 2 times, most recently from b623730 to d80f190 Compare November 24, 2023 09:53
@ringohoffman ringohoffman deleted the add-.coveragerc branch November 24, 2023 09:54
@ringohoffman ringohoffman restored the add-.coveragerc branch November 24, 2023 09:54
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.

1 participant