From 6322dbd9edfb963a1532d6ad74702fa8080b44fd Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Mon, 10 Apr 2017 23:23:23 +0200 Subject: [PATCH] #N/A: Fix flake8 warnings --- tests/rules/test_missing_space_before_subcommand.py | 2 +- thefuck/rules/missing_space_before_subcommand.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rules/test_missing_space_before_subcommand.py b/tests/rules/test_missing_space_before_subcommand.py index c0e17694..68925dab 100644 --- a/tests/rules/test_missing_space_before_subcommand.py +++ b/tests/rules/test_missing_space_before_subcommand.py @@ -17,7 +17,7 @@ def test_match(script): assert match(Command(script)) -@pytest.mark.parametrize('script', ['git branch' 'vimfile']) +@pytest.mark.parametrize('script', ['git branch', 'vimfile']) def test_not_match(script): assert not match(Command(script)) diff --git a/thefuck/rules/missing_space_before_subcommand.py b/thefuck/rules/missing_space_before_subcommand.py index 6a165a3d..c199e03e 100644 --- a/thefuck/rules/missing_space_before_subcommand.py +++ b/thefuck/rules/missing_space_before_subcommand.py @@ -1,4 +1,4 @@ -from thefuck.utils import get_all_executables, memoize, which +from thefuck.utils import get_all_executables, memoize @memoize