Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2535)

Unified Diff: appengine/sheriff_o_matic/.coveragerc

Issue 1917383002: test.py: compute coverage per top-level module. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Addressing comments, and more polishing Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/monorail/.coveragerc ('k') | appengine/som/.coveragerc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/sheriff_o_matic/.coveragerc
diff --git a/appengine/sheriff_o_matic/.coveragerc b/appengine/sheriff_o_matic/.coveragerc
new file mode 100644
index 0000000000000000000000000000000000000000..76768bf5c485fc54fb8d668614e15257ad75d8e1
--- /dev/null
+++ b/appengine/sheriff_o_matic/.coveragerc
@@ -0,0 +1,22 @@
+[run]
+include = ./appengine/sheriff_o_matic/*
+
+[report]
+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
+
+ # Don't complain if tests don't hit defensive assertion code:
+ raise AssertionError
+ raise NotImplementedError
+
+ # Don't complain if non-runnable code isn't run:
+ if 0:
+ if __name__ == ['"]__main__['"]:
+
+[expect_tests]
+expected_coverage_min = 100
« no previous file with comments | « appengine/monorail/.coveragerc ('k') | appengine/som/.coveragerc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698