Fix imports in flake8.run

This commit is contained in:
Florent Xicluna 2013-02-13 19:19:30 +01:00
parent 20b8c5962e
commit 3ee195a8ba

View file

@ -2,10 +2,9 @@
""" """
Implementation of the command-line I{flake8} tool. 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 main
from flake8.main import (check_code, check_file, get_parser, # noqa
Flake8Command) # noqa
if __name__ == '__main__': if __name__ == '__main__':