-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix coverage exclusion syntax #6241
Fix coverage exclusion syntax #6241
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #6241 +/- ##
==========================================
+ Coverage 97.38% 97.60% +0.22%
==========================================
Files 1116 1116
Lines 96110 95772 -338
==========================================
- Hits 93594 93480 -114
+ Misses 2516 2292 -224
☔ View full report in Codecov by Sentry. |
Use `# pragma: no cover` instead of `coverage: ignore`. The pragma format is understood by coverage and codecov.
Use `# pragma: no cover`.
0a4c5da
to
81ecbd5
Compare
* must be either on the affected line or at the preceding block * remove no-cover comments for code that is covered * remove unnecessary no-cover duplication
* switch to standard opt-out comments for code exclusion from coverage * fix placement of `# pragma: no cover` markup comments, so they are either on the affected line or at the preceding block * remove no-cover comments for code that is covered * remove redundant no-cover comments
# pragma: no cover
markup comments,so they are either on the affected line or at the preceding block