Commits

Florent Xicluna  committed 4da803b

Fix imports in flake8.run

  • Participants
  • Parent commits bbe5df9
  • Branches flint-merge

Comments (0)

Files changed (1)

File flake8/run.py

 """
 Implementation of the command-line I{flake8} tool.
 """
-from flake8.hooks import git_hook, hg_hook  # noqa
+from flake8.hooks import git_hook, hg_hook                      # noqa
+from flake8.main import check_code, check_file, Flake8Command   # noqa
 from flake8.main import main
-from flake8.main import (check_code, check_file, get_parser,  # noqa
-                         Flake8Command)  # noqa
 
 
 if __name__ == '__main__':