mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-15 07:10:52 +01:00
Remove unused imports
This commit is contained in:
parent
e5ce000399
commit
3bd2c8d4c8
@ -1,5 +1,5 @@
|
|||||||
import re
|
import re
|
||||||
from thefuck import utils, shells
|
from thefuck import shells
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from thefuck import utils
|
|
||||||
from thefuck.utils import replace_argument
|
from thefuck.utils import replace_argument
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from thefuck import utils, shells
|
from thefuck import shells
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from thefuck import utils
|
|
||||||
from thefuck.utils import replace_argument
|
from thefuck.utils import replace_argument
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from thefuck import shells, utils
|
from thefuck import shells
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from thefuck import utils
|
|
||||||
from thefuck.utils import replace_argument
|
from thefuck.utils import replace_argument
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from thefuck import utils
|
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from thefuck import utils
|
|
||||||
from thefuck.utils import replace_argument
|
from thefuck.utils import replace_argument
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from thefuck import utils, shells
|
from thefuck import shells
|
||||||
from thefuck.utils import replace_argument
|
from thefuck.utils import replace_argument
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from thefuck import shells, utils
|
from thefuck import shells
|
||||||
from thefuck.specific.git import git_support
|
from thefuck.specific.git import git_support
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import re
|
import re
|
||||||
from thefuck.utils import (replace_command, get_all_matched_commands)
|
from thefuck.utils import replace_command
|
||||||
|
|
||||||
def match(command, settings):
|
def match(command, settings):
|
||||||
return (re.search(r"([^:]*): Unknown command.*", command.stderr) != None
|
return (re.search(r"([^:]*): Unknown command.*", command.stderr) != None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user