mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	Remove unused imports
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user