diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-06-13 09:33:27 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-06-13 09:33:27 +0200 |
commit | 91e50a1453c8c895818983e4c3afcbe6ae7e7b1b (patch) | |
tree | ed92f373329fe48dbf5e3cec4e4fa7496b64b8c1 | |
parent | 6ff543b6ae5386dfb5d6616456a78030cbd6e230 (diff) | |
download | pep8-91e50a1453c8c895818983e4c3afcbe6ae7e7b1b.tar.gz |
Rename BasicReport to BaseReport.
-rwxr-xr-x | pep8.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1405,7 +1405,7 @@ class Checker(object): return self.report.file_errors -class BasicReport(object): +class BaseReport(object): print_filename = False def __init__(self, options): @@ -1506,11 +1506,11 @@ class BasicReport(object): self.counters[key])) -class FileReport(BasicReport): +class FileReport(BaseReport): print_filename = True -class StandardReport(BasicReport): +class StandardReport(BaseReport): def __init__(self, options): super(StandardReport, self).__init__(options) @@ -1574,7 +1574,7 @@ class StyleGuide(object): if not options.reporter: if options.quiet: - options.reporter = BasicReport + options.reporter = BaseReport else: options.reporter = StandardReport @@ -1755,7 +1755,7 @@ class StyleGuide(object): count_all = 0 count_failed = 0 options = self.options - report = BasicReport(options) + report = BaseReport(options) counters = report.counters checks = options.physical_checks + options.logical_checks for name, check, argument_names in checks: |