diff options
author | Ian Lee <IanLee1521@gmail.com> | 2016-02-28 22:14:27 -0800 |
---|---|---|
committer | Ian Lee <IanLee1521@gmail.com> | 2016-05-26 00:43:47 -0700 |
commit | 3f9ed3a9e62f8fdb4443fa849cca228a501ed1f4 (patch) | |
tree | 7eb2177058ab5a97195501667940b22657b84a10 | |
parent | 21783518e7fe4ed7d41a777fee83c962c26dd3d3 (diff) | |
download | pep8-3f9ed3a9e62f8fdb4443fa849cca228a501ed1f4.tar.gz |
Made 'pep8style' more generically 'style_guide'
-rwxr-xr-x | pep8.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() |