From f0b3451e829de7311c39a18c0fb34312330981ef Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 15 May 2010 23:03:52 -0400 Subject: Format the code to pylint's liking, and fix up the docstrings for omit and include. --- coverage/summary.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'coverage/summary.py') diff --git a/coverage/summary.py b/coverage/summary.py index df730375..89b31020 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) -- cgit v1.2.1