From f4219a5d0778d0a1a3d5789b17bedd396aa1a1a8 Mon Sep 17 00:00:00 2001 From: Ishaan29 Date: Sun, 6 Jan 2019 16:26:12 +0530 Subject: [PATCH] green_mode_core.py: Remove unnecessary import This removes delayed import of function check_filename_prefix_postfix as it shadowed an identical import in module scope Closes https://github.com/coala/coala-quickstart/issues/300 --- coala_quickstart/green_mode/green_mode_core.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/coala_quickstart/green_mode/green_mode_core.py b/coala_quickstart/green_mode/green_mode_core.py index 609b18e..d8473f6 100644 --- a/coala_quickstart/green_mode/green_mode_core.py +++ b/coala_quickstart/green_mode/green_mode_core.py @@ -50,8 +50,6 @@ 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