1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

Flake8 style config

This commit is contained in:
gkodosis 2020-07-01 19:52:14 +03:00
parent 2d98015cf2
commit c1bd436fbe
4 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,4 @@
import re
from subprocess import PIPE, Popen
from thefuck.utils import for_app, replace_argument, replace_command
from thefuck.specific.devenv import env_available, COMMON_TYPOS, get_commands
@ -17,4 +16,4 @@ def get_new_command(command):
matched = [replace_argument(command.script, broken, common_typo)
for common_typo in COMMON_TYPOS.get(broken, [])]
matched.extend(replace_command(command, broken, get_commands(command)))
return matched
return matched

View File

@ -1,5 +1,4 @@
import re
from subprocess import PIPE, Popen
from thefuck.utils import for_app, replace_argument, replace_command
from thefuck.specific.devenv import env_available, COMMON_TYPOS, get_commands
@ -17,4 +16,4 @@ def get_new_command(command):
matched = [replace_argument(command.script, broken, common_typo)
for common_typo in COMMON_TYPOS.get(broken, [])]
matched.extend(replace_command(command, broken, get_commands(command)))
return matched
return matched

View File

@ -1,5 +1,4 @@
import re
from subprocess import PIPE, Popen
from thefuck.utils import for_app, replace_argument, replace_command
from thefuck.specific.devenv import env_available, COMMON_TYPOS, get_commands
@ -17,4 +16,4 @@ def get_new_command(command):
matched = [replace_argument(command.script, broken, common_typo)
for common_typo in COMMON_TYPOS.get(broken, [])]
matched.extend(replace_command(command, broken, get_commands(command)))
return matched
return matched

View File

@ -1,5 +1,4 @@
import re
from subprocess import PIPE, Popen
from thefuck.utils import for_app, replace_argument, replace_command
from thefuck.specific.devenv import env_available, COMMON_TYPOS, get_commands
@ -17,4 +16,4 @@ def get_new_command(command):
matched = [replace_argument(command.script, broken, common_typo)
for common_typo in COMMON_TYPOS.get(broken, [])]
matched.extend(replace_command(command, broken, get_commands(command)))
return matched
return matched