From 3bd2c8d4c84f90f676990a9f562b78388ee3ae87 Mon Sep 17 00:00:00 2001 From: mcarton Date: Wed, 26 Aug 2015 20:55:47 +0200 Subject: [PATCH] Remove unused imports --- thefuck/rules/git_add.py | 2 +- thefuck/rules/git_branch_delete.py | 1 - thefuck/rules/git_branch_list.py | 2 +- thefuck/rules/git_diff_staged.py | 1 - thefuck/rules/git_pull.py | 2 +- thefuck/rules/git_pull_clone.py | 1 - thefuck/rules/git_push.py | 1 - thefuck/rules/git_push_force.py | 1 - thefuck/rules/git_push_pull.py | 2 +- thefuck/rules/git_stash.py | 2 +- thefuck/rules/unknown_command.py | 2 +- 11 files changed, 6 insertions(+), 11 deletions(-) diff --git a/thefuck/rules/git_add.py b/thefuck/rules/git_add.py index f90f283..617491f 100644 --- a/thefuck/rules/git_add.py +++ b/thefuck/rules/git_add.py @@ -1,5 +1,5 @@ import re -from thefuck import utils, shells +from thefuck import shells from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_branch_delete.py b/thefuck/rules/git_branch_delete.py index 14a9685..d334c08 100644 --- a/thefuck/rules/git_branch_delete.py +++ b/thefuck/rules/git_branch_delete.py @@ -1,4 +1,3 @@ -from thefuck import utils from thefuck.utils import replace_argument from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_branch_list.py b/thefuck/rules/git_branch_list.py index 07fb81e..25e4aaa 100644 --- a/thefuck/rules/git_branch_list.py +++ b/thefuck/rules/git_branch_list.py @@ -1,4 +1,4 @@ -from thefuck import utils, shells +from thefuck import shells from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_diff_staged.py b/thefuck/rules/git_diff_staged.py index d755a5c..bdb3ba6 100644 --- a/thefuck/rules/git_diff_staged.py +++ b/thefuck/rules/git_diff_staged.py @@ -1,4 +1,3 @@ -from thefuck import utils from thefuck.utils import replace_argument from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_pull.py b/thefuck/rules/git_pull.py index 9c2d828..426e342 100644 --- a/thefuck/rules/git_pull.py +++ b/thefuck/rules/git_pull.py @@ -1,4 +1,4 @@ -from thefuck import shells, utils +from thefuck import shells from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_pull_clone.py b/thefuck/rules/git_pull_clone.py index a5c27f1..a2d1cfb 100644 --- a/thefuck/rules/git_pull_clone.py +++ b/thefuck/rules/git_pull_clone.py @@ -1,4 +1,3 @@ -from thefuck import utils from thefuck.utils import replace_argument from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_push.py b/thefuck/rules/git_push.py index adea017..badce6d 100644 --- a/thefuck/rules/git_push.py +++ b/thefuck/rules/git_push.py @@ -1,4 +1,3 @@ -from thefuck import utils from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_push_force.py b/thefuck/rules/git_push_force.py index 52ecfe3..45a3085 100644 --- a/thefuck/rules/git_push_force.py +++ b/thefuck/rules/git_push_force.py @@ -1,4 +1,3 @@ -from thefuck import utils from thefuck.utils import replace_argument from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_push_pull.py b/thefuck/rules/git_push_pull.py index 85ec7cb..897406b 100644 --- a/thefuck/rules/git_push_pull.py +++ b/thefuck/rules/git_push_pull.py @@ -1,4 +1,4 @@ -from thefuck import utils, shells +from thefuck import shells from thefuck.utils import replace_argument from thefuck.specific.git import git_support diff --git a/thefuck/rules/git_stash.py b/thefuck/rules/git_stash.py index ee92a04..c0bad41 100644 --- a/thefuck/rules/git_stash.py +++ b/thefuck/rules/git_stash.py @@ -1,4 +1,4 @@ -from thefuck import shells, utils +from thefuck import shells from thefuck.specific.git import git_support diff --git a/thefuck/rules/unknown_command.py b/thefuck/rules/unknown_command.py index d863225..3cd9a9a 100644 --- a/thefuck/rules/unknown_command.py +++ b/thefuck/rules/unknown_command.py @@ -1,5 +1,5 @@ import re -from thefuck.utils import (replace_command, get_all_matched_commands) +from thefuck.utils import replace_command def match(command, settings): return (re.search(r"([^:]*): Unknown command.*", command.stderr) != None