File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,15 @@ source = pluggy/
12
12
*/lib/python*/site-packages/pluggy/
13
13
*/pypy*/site-packages/pluggy/
14
14
*\Lib\site-packages\pluggy\
15
+
16
+ [report]
17
+ exclude_lines =
18
+ # Have to re-enable the standard pragma
19
+ pragma: no cover
20
+
21
+ if TYPE_CHECKING:
22
+
23
+ if __name__ == .__main__.:
24
+
25
+ # Ignore coverage on lines solely with `...`
26
+ ^\s*\.\.\.\s*$
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def __call__(
69
69
historic : bool = False ,
70
70
warn_on_impl : Optional [Warning ] = None ,
71
71
) -> _F :
72
- pass
72
+ ...
73
73
74
74
@overload # noqa: F811
75
75
def __call__ ( # noqa: F811
@@ -79,7 +79,7 @@ def __call__( # noqa: F811
79
79
historic : bool = ...,
80
80
warn_on_impl : Optional [Warning ] = ...,
81
81
) -> Callable [[_F ], _F ]:
82
- pass
82
+ ...
83
83
84
84
def __call__ ( # noqa: F811
85
85
self ,
@@ -140,7 +140,7 @@ def __call__(
140
140
trylast : bool = ...,
141
141
specname : Optional [str ] = ...,
142
142
) -> _F :
143
- pass
143
+ ...
144
144
145
145
@overload # noqa: F811
146
146
def __call__ ( # noqa: F811
@@ -152,7 +152,7 @@ def __call__( # noqa: F811
152
152
trylast : bool = ...,
153
153
specname : Optional [str ] = ...,
154
154
) -> Callable [[_F ], _F ]:
155
- pass
155
+ ...
156
156
157
157
def __call__ ( # noqa: F811
158
158
self ,
@@ -270,7 +270,7 @@ class _HookRelay:
270
270
if TYPE_CHECKING :
271
271
272
272
def __getattr__ (self , name : str ) -> "_HookCaller" :
273
- pass
273
+ ...
274
274
275
275
276
276
class _HookCaller :
You can’t perform that action at this time.
0 commit comments