From c4c6f506f401c27a7c9b5f6e3a8068b726211b2d Mon Sep 17 00:00:00 2001 From: Joseph Frazier <1212jtraceur@gmail.com> Date: Thu, 6 Oct 2016 09:20:12 -0400 Subject: [PATCH] Ignore flake8 errors with inline comments: E402 module level import not at top of file https://github.com/nvbn/thefuck/pull/563#discussion_r82105200 --- thefuck/main.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/thefuck/main.py b/thefuck/main.py index 6ca89ac..6896554 100644 --- a/thefuck/main.py +++ b/thefuck/main.py @@ -3,16 +3,16 @@ from .system import init_output init_output() -from argparse import ArgumentParser -from pprint import pformat -import sys -from . import logs, types -from .shells import shell -from .conf import settings -from .corrector import get_corrected_commands -from .exceptions import EmptyCommand -from .utils import get_installation_info, get_alias -from .ui import select_command +from argparse import ArgumentParser # noqa: E402 +from pprint import pformat # noqa: E402 +import sys # noqa: E402 +from . import logs, types # noqa: E402 +from .shells import shell # noqa: E402 +from .conf import settings # noqa: E402 +from .corrector import get_corrected_commands # noqa: E402 +from .exceptions import EmptyCommand # noqa: E402 +from .utils import get_installation_info, get_alias # noqa: E402 +from .ui import select_command # noqa: E402 def fix_command():