Merge pull request #483 from dod-ccpo/add_exceptions_to_coveragerc

Update .coveragerc to handle exceptions (including the replacement for reverted PR 479)
This commit is contained in:
Jay R. Newlin (PromptWorks) 2018-12-07 15:00:19 -05:00 committed by GitHub
commit 96c35ed3c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,16 @@
[run] [run]
omit = atst/routes/dev.py omit = atst/routes/dev.py
branch = True branch = True
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragmas
pragma: no cover
pragma: no branch
# Don't complain about missing debug-only code:
def __repr__