Skip to content

Commit c1edf1f

Browse files
committed
Attempt number a million
1 parent 42776f6 commit c1edf1f

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

doc/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,13 @@ def setup(app):
374374
# List of patterns, relative to source directory, that match files and directories to ignore when
375375
# looking for source files.
376376
exclude_patterns = [
377-
"**/Python27*",
378-
"**/ccl*",
377+
"**.ipynb",
379378
"**.ipynb_checkpoints",
379+
"**/ccl*",
380+
"**/Python27*",
380381
"_build",
382+
"gallery",
383+
"tutorials",
381384
APIDOC_REL,
382385
STATIC_DIR,
383386
]

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,28 +244,28 @@ data_file = "coverage_results.cov"
244244
[tool.coverage.report]
245245
# Regexes for lines to exclude from consideration
246246
omit = [
247+
"*/tests/*",
247248
"armi/cli/gridGui.py",
248249
"armi/utils/gridEditor.py",
249-
"*/tests/*",
250250
]
251251

252252
exclude_also = [
253253
# Don't complain about missing debug-only code:
254254
"def __repr__",
255255
"if self\\.debug",
256256

257+
# Don't complain if non-runnable code isn't run:
258+
"if __name__ == .__main__.:",
259+
257260
# Don't complain about missing type checking-only code:
258261
"if TYPE_CHECKING",
259262

260263
# Don't complain if tests don't hit defensive assertion code:
264+
"except ImportError",
265+
"pass",
261266
"raise AssertionError",
262267
"raise KeyboardInterrupt",
263268
"raise NotImplementedError",
264-
"except ImportError",
265-
"pass",
266-
267-
# Don't complain if non-runnable code isn't run:
268-
"if __name__ == .__main__.:",
269269
]
270270

271271
ignore_errors = true

0 commit comments

Comments
 (0)