-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Use .coveragerc for TYPE_CHECKING conditions #7930
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7930 +/- ##
==========================================
+ Coverage 97.41% 97.43% +0.01%
==========================================
Files 107 107
Lines 32359 32353 -6
Branches 3754 3751 -3
==========================================
Hits 31522 31522
+ Misses 633 630 -3
+ Partials 204 201 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Backport to 3.9: 💚 backport PR created✅ Backport PR branch: Backported as #7931 🤖 @patchback |
(cherry picked from commit 895afa8)
Backport to 3.10: 💚 backport PR created✅ Backport PR branch: Backported as #7932 🤖 @patchback |
(cherry picked from commit 895afa8)
|
||
[report] | ||
exclude_also = | ||
if TYPE_CHECKING |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dreamsorcerer have you tried https://pypi.org/p/covdefaults/ ? It provides better regexes in general, including this one.
No description provided.