-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e81160
commit 9a7c04a
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# .coveragerc to control coverage.py | ||
[run] | ||
branch = False | ||
omit = .converage* | ||
*/tests/* | ||
*/__main__.py | ||
[report] | ||
fail_under = 95 | ||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about missing debug-only code: | ||
def __repr__ | ||
if self\.debug | ||
def _post_url(self) | ||
|
||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
except KeyboardInterrupt: | ||
except ImportError: | ||
except RuntimeError | ||
raise SystemExit | ||
|
||
# Don't complain if non-runnable code isn't run: | ||
if 0: | ||
if perf_file *: | ||
p_col = * | ||
f_col = * | ||
q_col = * | ||
if __name__ == .__main__.: | ||
|
||
ignore_errors = False |