File tree 2 files changed +11
-8
lines changed 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -374,10 +374,13 @@ def setup(app):
374
374
# List of patterns, relative to source directory, that match files and directories to ignore when
375
375
# looking for source files.
376
376
exclude_patterns = [
377
- "**/Python27*" ,
378
- "**/ccl*" ,
377
+ "**.ipynb" ,
379
378
"**.ipynb_checkpoints" ,
379
+ "**/ccl*" ,
380
+ "**/Python27*" ,
380
381
"_build" ,
382
+ "gallery" ,
383
+ "tutorials" ,
381
384
APIDOC_REL ,
382
385
STATIC_DIR ,
383
386
]
Original file line number Diff line number Diff line change @@ -244,28 +244,28 @@ data_file = "coverage_results.cov"
244
244
[tool .coverage .report ]
245
245
# Regexes for lines to exclude from consideration
246
246
omit = [
247
+ " */tests/*" ,
247
248
" armi/cli/gridGui.py" ,
248
249
" armi/utils/gridEditor.py" ,
249
- " */tests/*" ,
250
250
]
251
251
252
252
exclude_also = [
253
253
# Don't complain about missing debug-only code:
254
254
" def __repr__" ,
255
255
" if self\\ .debug" ,
256
256
257
+ # Don't complain if non-runnable code isn't run:
258
+ " if __name__ == .__main__.:" ,
259
+
257
260
# Don't complain about missing type checking-only code:
258
261
" if TYPE_CHECKING" ,
259
262
260
263
# Don't complain if tests don't hit defensive assertion code:
264
+ " except ImportError" ,
265
+ " pass" ,
261
266
" raise AssertionError" ,
262
267
" raise KeyboardInterrupt" ,
263
268
" raise NotImplementedError" ,
264
- " except ImportError" ,
265
- " pass" ,
266
-
267
- # Don't complain if non-runnable code isn't run:
268
- " if __name__ == .__main__.:" ,
269
269
]
270
270
271
271
ignore_errors = true
You can’t perform that action at this time.
0 commit comments