diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-15 23:03:52 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-15 23:03:52 -0400 |
commit | fc920203f8ec8b87c331a9da091e82645a2e9b43 (patch) | |
tree | e7de67e634852f41259ef953b3b7041d88af0b5b /coverage/summary.py | |
parent | 8951e029c5c96ede37c6bb82344d5029c1622575 (diff) | |
download | python-coveragepy-fc920203f8ec8b87c331a9da091e82645a2e9b43.tar.gz |
Format the code to pylint's liking, and fix up the docstrings for omit and include.
Diffstat (limited to 'coverage/summary.py')
-rw-r--r-- | coverage/summary.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/coverage/summary.py b/coverage/summary.py index df73037..89b3102 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -14,14 +14,13 @@ class SummaryReporter(Reporter): self.show_missing = show_missing self.branches = coverage.data.has_arcs() - def report(self, morfs, omit_prefixes=None, outfile=None, include_prefixes=None): + def report(self, morfs, omit_prefixes=None, outfile=None, + include_prefixes=None + ): """Writes a report summarizing coverage statistics per module. - `omit_prefixes` is a list of prefixes. CodeUnits that match those prefixes - will be omitted from the list. - `include_prefixes` is a list of prefixes. Only CodeUnits that match those prefixes - will be included in the list. - You are required to pass at most one of `omit_prefixes` and `include_prefixes`. + See `coverage.report()` for other arguments. + """ self.find_code_units(morfs, omit_prefixes, include_prefixes) |