Commits

Tamás Gulácsi committed 5559c5b

make short options work

  • Participants
  • Parent commits a94428a

Comments (0)

Files changed (1)

File flake8/run.py

 
 
 def main():
-    pep8.process_options()
+    options, args = pep8.process_options()
     warnings = 0
-    args = sys.argv[1:]
     if args:
         for path in _get_python_files(args):
             warnings += check_file(path)