summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lee <IanLee1521@gmail.com>2016-02-28 22:14:27 -0800
committerIan Lee <IanLee1521@gmail.com>2016-05-26 00:43:47 -0700
commit3f9ed3a9e62f8fdb4443fa849cca228a501ed1f4 (patch)
tree7eb2177058ab5a97195501667940b22657b84a10
parent21783518e7fe4ed7d41a777fee83c962c26dd3d3 (diff)
downloadpep8-3f9ed3a9e62f8fdb4443fa849cca228a501ed1f4.tar.gz
Made 'pep8style' more generically 'style_guide'
-rwxr-xr-xpep8.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pep8.py b/pep8.py
index 4af3c3e..6776303 100755
--- a/pep8.py
+++ b/pep8.py
@@ -2158,14 +2158,14 @@ def _main():
except AttributeError:
pass # not supported on Windows
- pep8style = StyleGuide(parse_argv=True)
- options = pep8style.options
+ style_guide = StyleGuide(parse_argv=True)
+ options = style_guide.options
if options.doctest or options.testsuite:
from testsuite.support import run_tests
- report = run_tests(pep8style)
+ report = run_tests(style_guide)
else:
- report = pep8style.check_files()
+ report = style_guide.check_files()
if options.statistics:
report.print_statistics()