summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2012-06-13 09:33:27 +0200
committerFlorent Xicluna <florent.xicluna@gmail.com>2012-06-13 09:33:27 +0200
commit91e50a1453c8c895818983e4c3afcbe6ae7e7b1b (patch)
treeed92f373329fe48dbf5e3cec4e4fa7496b64b8c1
parent6ff543b6ae5386dfb5d6616456a78030cbd6e230 (diff)
downloadpep8-91e50a1453c8c895818983e4c3afcbe6ae7e7b1b.tar.gz
Rename BasicReport to BaseReport.
-rwxr-xr-xpep8.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pep8.py b/pep8.py
index 6767d00..1e869ae 100755
--- a/pep8.py
+++ b/pep8.py
@@ -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: