File tree 2 files changed +16
-15
lines changed
2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -215,3 +215,19 @@ markers = [
215
215
" setup_command" ,
216
216
]
217
217
testpaths = [" tests" ]
218
+
219
+ [tool .coverage .run ]
220
+ branch = true
221
+ parallel = true
222
+ source = [' sphinx' ]
223
+
224
+ [tool .coverage .report ]
225
+ exclude_lines = [
226
+ # Have to re-enable the standard pragma
227
+ ' pragma: no cover' ,
228
+ # Don't complain if tests don't hit defensive assertion code:
229
+ ' raise NotImplementedError' ,
230
+ # Don't complain if non-runnable code isn't run:
231
+ ' if __name__ == .__main__.:' ,
232
+ ]
233
+ ignore_errors = true
Original file line number Diff line number Diff line change @@ -6,18 +6,3 @@ application-import-names = sphinx
6
6
import-order-style = smarkets
7
7
per-file-ignores =
8
8
tests/*: E501
9
-
10
- [coverage:run]
11
- branch = True
12
- parallel = True
13
- source = sphinx
14
-
15
- [coverage:report]
16
- exclude_lines =
17
- # Have to re-enable the standard pragma
18
- pragma: no cover
19
- # Don't complain if tests don't hit defensive assertion code:
20
- raise NotImplementedError
21
- # Don't complain if non-runnable code isn't run:
22
- if __name__ == .__main__.:
23
- ignore_errors = True
You can’t perform that action at this time.
0 commit comments