Skip to content

Commit 3202c88

Browse files
chore: coverage: expand default ignores to pass lines and ellipsis definitions
1 parent 6b044a6 commit 3202c88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[run]
22
include =
33
pluggy/*
4+
src/pluggy/*
45
testing/*
56
*/lib/python*/site-packages/pluggy/*
67
*/pypy*/site-packages/pluggy/*
@@ -27,3 +28,7 @@ exclude_lines =
2728

2829
# Ignore coverage on lines solely with `...`
2930
^\s*\.\.\.\s*$
31+
# ignore coverage on ruff line continued
32+
^\s*def.*:\ \.\.\.\s*$
33+
# ignore coverage on pass lines
34+
^\s*passs*$

0 commit comments

Comments
 (0)