From f72a275bd9cae15be4cd1f40f0ca167f337de0ea Mon Sep 17 00:00:00 2001 From: Ishaan29 Date: Sun, 6 Jan 2019 16:26:12 +0530 Subject: [PATCH] green_mode_core.py: Fix unnecessary import Removed the delayed import of function check_filename_prefix_postfix as it was already been called once , hence delayed import was unnecessary Closes https://github.com/coala/coala-quickstart/issues/300 --- coala_quickstart/green_mode/green_mode_core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/coala_quickstart/green_mode/green_mode_core.py b/coala_quickstart/green_mode/green_mode_core.py index 609b18e..9bf711f 100644 --- a/coala_quickstart/green_mode/green_mode_core.py +++ b/coala_quickstart/green_mode/green_mode_core.py @@ -50,8 +50,7 @@ def green_mode(project_dir: str, ignore_globs, bears, bear_settings_obj, The maximum number of values to run the bear again and again for a optional setting. """ - from coala_quickstart.green_mode.filename_operations import ( - check_filename_prefix_postfix) + ignore_globs.append(os.path.join(project_dir, '.git', '**')) project_data = project_dir + os.sep + PROJECT_DATA